Re: How do you upgrade Rails 2.0.2 to 2.2.2?

Bob
Fri, 12 Feb 2010 17:22:22 -0000

Have you tried running "gem update --system"?  Just a guess...hope it
helps.


On Feb 12, 9:43 am, suryava
<sury...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:
> Dear Friends,
>
> I am having trouble with the rails version. I am looking at the book
> by Sam, Dave and David, where they said if I install InstantRails 2.0,
> it comes with Rails 2.2.2. But apparently when I actually downloaded
> it from (http://rubyforge.org/frs/download.php/29867/InstantRails-2.0-
> win.zip), and then (unzipped it -> ran instantrails.exe -> opened
Ruby
> Console window from the I icon etc),
>
> I issued the command rails -v and it says Rails is version 2.0.2.
>
> So I wanted to upgrade it to 2.2.2. To do that, I gave the
> instructions from the book
>
> gem install rails --version 2.2.2,
>
> but I get the error:
>
> Updating metadata for 1 gems fromhttp://gems.rubyforge.org
> .
> complete
> ERROR:  could not find rails locally or in a repository
>
> What am I missing?
>
> Environment: Windows XP SP3
> InstantRails 2.0

--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.