Cannot install Rails version 1.2.5

We have an application that was developed under Rails 1.2.5, and will
not work as it is on Rails 2.0 and above.

However, when we try to install the earlier Rails version as follows, it
forces the installation of v2.3.2:

C:\testror>gem install rails -v 1.2.5 --include-dependencies

Bulk updating Gem source index for: http://gems.rubyforge.org
Successfully installed rails-2.3.2
ERROR: While executing gem … (Gem::GemNotFoundException)
Could not find ûv (> 0) in the repository

Can anybody help on this?

Thanx.

2009/7/1 Sébastien Clément [email protected]:

Successfully installed rails-2.3.2
ERROR: While executing gem … (Gem::GemNotFoundException)
Could not find ûv (> 0) in the repository

Can anybody help on this?

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?


Rick DeNatale

Blog: http://talklikeaduck.denhaven2.com/
Twitter: http://twitter.com/RickDeNatale
WWR: http://www.workingwithrails.com/person/9021-rick-denatale
LinkedIn: http://www.linkedin.com/in/rickdenatale

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…

On Wed, Jul 1, 2009 at 11:08 AM, Alexey V.[email protected] wrote:

*** 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.

Rick DeNatale

Blog: http://talklikeaduck.denhaven2.com/
Twitter: http://twitter.com/RickDeNatale
WWR: http://www.workingwithrails.com/person/9021-rick-denatale
LinkedIn: http://www.linkedin.com/in/rickdenatale

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

2009/7/1 Rick DeNatale [email protected]

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,

Blog: http://talklikeaduck.denhaven2.com/
Twitter: http://twitter.com/RickDeNatale
WWR: http://www.workingwithrails.com/person/9021-rick-denatale
LinkedIn: http://www.linkedin.com/in/rickdenatale


С уважением,
Алексей Вахов

2009/7/1 Sébastien Clément [email protected]:

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

Rick DeNatale

Blog: http://talklikeaduck.denhaven2.com/
Twitter: http://twitter.com/RickDeNatale
WWR: http://www.workingwithrails.com/person/9021-rick-denatale
LinkedIn: http://www.linkedin.com/in/rickdenatale

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:

On Wed, Jul 1, 2009 at 11:08 AM, Alexey V.[email protected] wrote:

*** 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.

Rick DeNatale

Blog: http://talklikeaduck.denhaven2.com/
Twitter: http://twitter.com/RickDeNatale
WWR: http://www.workingwithrails.com/person/9021-rick-denatale
LinkedIn: http://www.linkedin.com/in/rickdenatale

Rick, you nailed it. Many thanks.
Seems the - was replaced for another similar character somewhere (I
suspect Windows).
Now works:

c:\testror\TreeSNPs_pub>gem install rails -v1.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-1.2.5
1 gem installed
Installing ri documentation for rails-1.2.5…
Installing RDoc documentation for rails-1.2.5…

Rick Denatale wrote:

2009/7/1 S�bastien Cl�ment [email protected]:

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

Rick DeNatale

Blog: http://talklikeaduck.denhaven2.com/
Twitter: http://twitter.com/RickDeNatale
WWR: http://www.workingwithrails.com/person/9021-rick-denatale
LinkedIn: http://www.linkedin.com/in/rickdenatale