Just something I ran into recently and thought I would write a quick note about. I had rubygems 0.9.4 on a closed off server and was able to upgrade it. I was trying to do some form of the “sudo gem update –system” and giving the path to the actually rubygems-update-x.x.x.gem, but I couldn’t get it to fly. Instead I downloaded the latest tarball and ran the setup file in it. I was nervous that it would install a second instance of rubygems, but I saw this lovely message come up while installing it:
Removing old RubyGems RDoc and ri
rm -rf /usr/lib/ruby/gems/1.8/doc/rubygems-0.9.4
After it installed I checked the version of rubygems and it was what I installed. All my gems were still good too. The light is green, the trap is clean.