Rails 2.2 was released earlier today, so you may be tempted (as indeed I was) to install it right away and play with the new features (such as Array#forty_two ) Well, there are a few things you need to be aware of before you start the update process. One is you must have rubygems 1.3.1 installed to use rails. The default way to do this is with
sudo gem update --system
However, there is a problem with updating rubygems this way when you don’t have rubygems-update installed. You can get around this by using
sudo gem install rubygems-update sudo update_rubygems
After updating rubygems, install rails 2.2 with
sudo gem install rails
and you should have the new version of rails.
If you have an existing project, cd to that project directory and
rake rails:update
to update your javascript, scripts, and configs. This should get you running on the new version of Ruby on Rails.
Add your comment below, or trackback from your own site.
Subscribe to these comments.
Be nice. Keep it clean. Stay on topic. No spam.
You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>