Rails 2.2 just released. Rubygems update required

Rails 2.2 has been released in past few days… Rayan Bates already did a new RailsCasts explaining one of the new features “Memoize”, check that out.
By the way, if you want to upgrade your rails version you will need to upgrade your rubygems as well (in case u have the previous version).
To do this simply do
$ sudo gem update --system
This should work but some of us are getting some errors while doing this so this is the other way.
$ sudo gem install rubygems-update
This will install latest rubygems version but now we still need to make it work so do as follows
$ sudo update_rubygems
So now you have rubygems updated, you can now type
$ sudo gem update gems or
$ sudo gem update rails or
$ sudo gem install rails to get the update.
To make the fat lady sing, just check your version to make sure everything went ok
$ rails --version
this should return Rails 2.2.2 as output.
Enjoy.
Recommend Me

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: