C:\DOCUME~1\DESMOND>gem -i rubygems
Attempting local installation of 'rubygems'
-> Local installation can't proceed: Unknown gem file 'rubygems'
Attempting remote installation of 'rubygems'
Successfully installed rubygems-update version 0.8.1
C:\DOCUME~1\DESMOND>gem -i rails
Attempting local installation of 'rails'
-> Local installation can't proceed: Unknown gem file 'rails'
Attempting remote installation of 'rails'
undefined method `version_requirement' for #<Gem::Dependency:0x53a52d8>
In both instances you are trying to do a "local" install, which means you are trying to install from a gem repository that is on the same machine. You want to do a remote install.
"gem install --remote rails" should do what you want
···
--
She drove a Plymouth Satellite
Faster than the Speed of Light...
>C:\DOCUME~1\DESMOND>gem -i rubygems
>Attempting local installation of 'rubygems'
>-> Local installation can't proceed: Unknown gem file 'rubygems'
>Attempting remote installation of 'rubygems'
>Successfully installed rubygems-update version 0.8.1
>
>C:\DOCUME~1\DESMOND>gem -i rails
>Attempting local installation of 'rails'
>-> Local installation can't proceed: Unknown gem file 'rails'
>Attempting remote installation of 'rails'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>undefined method `version_requirement' for #<Gem::Dependency:0x53a52d8>
>
>
In both instances you are trying to do a "local" install, which means
you are trying to install from a gem repository that is on the same
machine. You want to do a remote install.
"gem install --remote rails" should do what you want
I don't think so. See the line I highlighted above. The 'undefined method'
error is the actual problem.
···
On Tue, Oct 05, 2004 at 10:19:05PM +0900, Joey Gibson wrote:
"Joey Gibson" <joey@joeygibson.com> wrote in message
news:41629F43.2090600@joeygibson.com...
Its Me wrote:
>C:\DOCUME~1\DESMOND>gem -i rails
>Attempting local installation of 'rails'
> -> Local installation can't proceed: Unknown gem file 'rails'
>Attempting remote installation of 'rails'
>undefined method `version_requirement' for #<Gem::Dependency:0x53a52d8>
In both instances you are trying to do a "local" install, which means
you are trying to install from a gem repository that is on the same
machine. You want to do a remote install.
"gem install --remote rails" should do what you want
From the output I think 0.8.1 gems tries local, then attempts remote. The
failure message was from an undefined method.
I tried your command line and it die not work (with 0.8.1). I tried
gem -Ri rails
and got the same undefined method failure.
On Tue, Oct 05, 2004 at 10:19:05PM +0900, Joey Gibson wrote:
>C:\DOCUME~1\DESMOND>gem -i rubygems
>Attempting local installation of 'rubygems'
>-> Local installation can't proceed: Unknown gem file 'rubygems'
>Attempting remote installation of 'rubygems'
>Successfully installed rubygems-update version 0.8.1
>
>C:\DOCUME~1\DESMOND>gem -i rails
>Attempting local installation of 'rails'
>-> Local installation can't proceed: Unknown gem file 'rails'
>Attempting remote installation of 'rails'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>undefined method `version_requirement' for #<Gem::Dependency:0x53a52d8>
>
>
In both instances you are trying to do a "local" install, which means
you are trying to install from a gem repository that is on the same
machine. You want to do a remote install.
"gem install --remote rails" should do what you want
I don't think so. See the line I highlighted above. The 'undefined method'
error is the actual problem.
If the gem command isn't complaining about the '-i' on the base gem
command, then you are running an old version of gems. You need to upgrade
to 0.8.1 and try again. (I would suggest upgrading by loading the
rubygems tar or zip file and running "ruby install.rb". Your gem install
may be old enough that it has problems with some of the newer gem spec
fields.)
--
-- Jim Weirich jim@weirichhouse.org http://onestepback.org
-----------------------------------------------------------------
"Beware of bugs in the above code; I have only proved it correct,
not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)