Created
March 16, 2011 18:41
-
-
Save heisters/873051 to your computer and use it in GitHub Desktop.
Logout of rubygems.org. Hecka hacky.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ruby -e "Gem.configuration.rubygems_api_key = nil" |
Haha awesome. Stumbled upon this, just what I needed!
rm ~/.gem/credentials
+1 THX!
Thanks! This helped us while deploying a gem during a live conference as part of a session (the presenter had a new machine and accidentally logged into the wrong account).
Thank you!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you for this!!!!!
I changed the ownership of a gem then I couldn't push even though I own both accounts, so I needed to logout of the old account and login to the new one.
I'm just a little confused how it works, where is this thing saved? how can I view the other configurations of my gem?
If you can link me something that would be nice, I've been googling for over an hour now ;(