Rails 1.1 - why not "update"?

Posted by admin, Tue Mar 28 06:37:54 UTC 2006


Rails 1.1: RJS, Active Record++, respond_to, integration tests, and 500 other things!

Upgrading from 1.0

So with such a massive update, upgrading is going to be hell, right? Wrong! We’ve gone to painstaking lengths to ensure that upgrading from 1.0 will be as easy as pie. Here goes the steps:

* Update to Rails 1.1:
gem install rails—include-dependencies
* Update JavaScripts for RJS:
rake rails:update


Not so much. I could NOT get the gem install command to complete successfully. And… why the heck use “install” anyway, when there is an “update”, and I have Rails 1.0 installed already?


So, I tried:
<br />gem update rails -y<br />

And it worked. Perfectly. First time.

Filed Under: | Tags:

Comments

Have your say

A name is required. You may use HTML in your comments.