Quick Tip: Upgrading Rails 2.0 w/ RubyGems
Posted by Vince Wadhwani on Dec 13, 2007
By now you know that Rails 2.0 is out. But you may not know that Ruby Gems 0.9.5 is also out. Do yourself a favor and update gems before updating everything else. To do that from 0.9.4 type:
sudo gem update --system
In version 0.9.5 you no longer have to specify --include-dependencies so just use gem install rails followed by gem update to upgrade from there!
If for some reason the above doesn't work, try doing a manual wget of the gems instead:
wget http://rubyforge.org/frs/download.php/28174/rubygems-0.9.5.tgz
Then unpack and setup the gems manually:
tar xvzf rubygems-0.9.5.tgz cd rubygems-0.9.5/ sudo ruby setup.rb