Post the release of rubygems-update 1.3.6, I wanted to upgrade mine to it. I'm using Ubuntu and followed the steps given in Ruby Forum Link to install it. And here goes my story and how I trouble shot it...
- I ran the command $sudo gem update only to get the message "Nothing to update". Trouble!
- The above mentioned link that I was following to resolve states that I should be having an older version of RubyGems and so will have to go by the two step installation process and those being $sudo gem install rubygems-update and $update_rubygems
Thankfully, $sudo gem install rubygems-update worked fine but then I had a problem with $update_rubygems. Trouble again!
- Now it is time to do this manually by going to the directory where gems is installed in the system and run the update_rubygems script manually. Where is this magic directory and how did I do it? In my case it was like running through the commands $cd /var/lib/gems/1.8/bin and $sudo ./update_rubygems
With this I got to see the cool message "RubyGems installed the following executables: /usr/bin/gem1.8". After which I ran the $gem -v command only to see that my gem got updated to the latest and the greatest version 1.3.7. All smiles for me :)
Book(s) I read for Ruby (in that order):