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 from http://gems.rubyforge.org
ERROR: could not find rails locally or in a repository
I would suggest you try 'gem list -r' to see if there are any remote
gems in the repository you are contacting. That should give you
information on what is there. I have personally upgraded
2.0 from 2.0.2 to 2.2.? and I cannot recall any particular
doing it. Updating gem as suggested may help.
You received this message because you are subscribed to the Google
Groups “Ruby on Rails: Talk” group.