Ruby on Rails
HowtoUpgrade

How to Upgrade Rails

Run Gem to Grab the Latest Release

or

How to Upgrade Existing Projects

Please note that I didn’t find this documented anywhere and this appeared to work for me. I’m not sure if this is the official way of upgrading or not.

On page 32 of Agile Web Development with Rails, Dave Thomas gives the same instructions minus the editing of the environment.rb file (which I needed to do to get it to work). He also reminds us that:

will get rid of older versions of rails, and mentions that the reason for the rake rails:update is to copy in any new versions of javascript libraries, etc.