series of security incidents (e.g. rest-client gem with malicious backdoor 1) led me to belief that I am going to enable 2FA for my rubygems.org account. If you push any Foreman-related gems too, please consider the same. We do have the same policy on github.com and it’s also recommended for our Discourse.
I find Authy 2 a very useful tool, it runs on Desktop, iPhone or Android. It can sync all your tokens and setup is very easy. You can also use OpenOTP developed by redhatters which is available on iOS too however it does not sync or backup your tokens.
Here is a guide how to set things up with rubygems.org:
Take care! Cheers.