I haven’t touched Ruby/Rails for about a year now and need a quick reminder: what’s the quickest way to update to the latest version of gem, rails, rake, etc? I want to create a new project from scratch on top of the latest versions. Here’s what I have now:
$ gem --version
1.3.5
$ rails --version
Rails 2.3.5
$ rake --version
rake, version 0.8.7
Start by downloading RVM and use that to install a clean version of Ruby 1.9.2. You can then download the latest version of Rails 3 on top of it and keep your Rails 2 stuff completely separate should you ever need to go back to one of your old Rails 2 projects.