Thanks, I did run the above and it worked.
But does this mean that each time I wish to switch the user, I will have to
replace the credentials file. Somehow earlier this was working without a
hitch, and the correct credentials file would be picked up.
But does this mean that each time I wish to switch the user,
Are sure you switched your rubygems.org user? ~/.gem/credentials holds the key we use to identify you for gem commands and it can hold key of one user at a time. I suppose you could do some scripting voodoo to have rubygems read from different location depending on what your current directory is.
Here is what all I have tried: git config user.email '[email blocked]' git config user.name 'rkumar' gem push pkg/cetus-0.1.16.gem
gem command doesn't any have to do with your git user.
I would suggest going through these docs if you would like to learn more about sign in through command line and gem push.