Upgrading from Rails 1.0 to 1.1 and upgrading from Ruby 1.8.2 to 1.8.4 on Windows

by Rich Brant on March 28, 2006

Tons of exciting new and exciting features are now available as a part of Rails 1.1, which was released today. But to get up and running, I needed to upgrade from Ruby 1.8.2 to 1.8.4 before doing so. On Windows it’s pretty simple:

1. Download and install the one click installer. The release notes indicate you can install on top of an existing version of the same major version number:

You can install overtop of an existing installation that has
the same Ruby major version number (e.g., 1.6). Installations
up to and including 1.6.5-1 can only be uninstalled. All versions
can co-exist peacefully (DLL’s willing) in separate directories.

2. Upgrade to Rails version 1.1 by running the follwoing commands

- gem install rails –include-dependencies

3. You also need to update the javascripts with:

- rake rails:update

(Bear in mind that this command is run inside your rails application.)

Leave a Comment

Previous post:

Next post: