Cannot install Rails version 1.2.5

I don't know if I can help but:

gem list -v 1.2.5 --remote rails

*** REMOTE GEMS ***

rails (2.3.2)

$ gem list --remote rails

*** REMOTE GEMS ***

rails (2.3.2)

Which makes it look to me as if the gem command is only seeing version 2.3.2 of rails on rubyforge or github.

I just updated to the latest version of gem and get the same thing.

Rubyforge problem?

rails (2.3.2)

$ gem list --remote rails

*** REMOTE GEMS ***

rails (2.3.2)

$gem list -r -a rails

*** REMOTE GEMS ***

rails (2.3.2, 2.2.2, 2.1.2, 2.1.1, 2.1.0, 2.0.5, 2.0.4, 2.0.2, 2.0.1, 2.0.0, 1.2.6, 1.2.5, 1.2.4, 1.2.3, 1.2.2, 1.2.1, 1.2.0, 1.1.6, 1.1.5, 1.1.4, 1.1.3, 1.1.2, 1.1.1, 1.1.0, 1.0.0, 0.14.4, 0.14.3, 0.14.2, 0.14.1, 0.13.1, 0.13.0, 0.12.1, 0.12.0, 0.11.1, 0.11.0, 0.10.1, 0.10.0, 0.9.5, 0.9.4.1, 0.9.4, 0.9.3, 0.9.2, 0.9.1, 0.9.0, 0.8.5, 0.8.0, 0.7.0, 0.6.5, 0.6.0)

Version 1.2.5 should be available on rubyforge…

Thanks, I figured there might be an option like -a, but somehow failed to see it in the help.

Still doesn't help with the OPs problem though.

Hm. On my win box it’s like ok.

C:>gem install rails -v 1.2.5 Successfully installed activesupport-1.4.4 Successfully installed activerecord-1.15.5 Successfully installed actionpack-1.13.5 Successfully installed actionmailer-1.3.5 Successfully installed actionwebservice-1.2.5 Successfully installed rails-1.2.5 6 gems installed Installing ri documentation for activesupport-1.4.4… Installing ri documentation for activerecord-1.15.5… Installing ri documentation for actionpack-1.13.5… …

C:>ruby --version ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32]

C:>gem --version 1.3.4

I updated gems just in case (gem update --system).

After trying to install Rails v1.2.5, I got a different error message, but no more success:

C:\testror>gem install rails -v 1.2.5 --include-dependencies INFO: `gem install -y` is now default and will be removed INFO: use --ignore-dependencies to install only the gems you list Successfully installed rails-2.3.2 ERROR: could not find gem ûv locally or in a repository ERROR: could not find gem 1.2.5 locally or in a repository 1 gem installed Installing ri documentation for rails-2.3.2... Installing RDoc documentation for rails-2.3.2...

The only working solution I found was to copy the whole c:\ruby directory from another machine with rails v1.2.5, but that's pretty lame...

Rick Denatale wrote:

I updated gems just in case (gem update --system).

After trying to install Rails v1.2.5, I got a different error message, but no more success:

C:\testror>gem install rails -v 1.2.5 --include-dependencies INFO: `gem install -y` is now default and will be removed INFO: use --ignore-dependencies to install only the gems you list

So you don't really need to specify --include-dependencies

Successfully installed rails-2.3.2 ERROR: could not find gem ûv locally or in a repository ERROR: could not find gem 1.2.5 locally or in a repository

Notice that gem is not parsing -v correctly.

Is that really a - ?

It's trying to install gems NAMED rails, ûv, and 1.2.5