On Oct 14, 2007, at 01:37 , Daniel Berger wrote:

> Hi,
>
> Ruby 1.8.6 one-click
> Windows XP
>
> I did: gem update --system --source http://segment7.net/
>
> cp gem C:/DOCUME~1/djberge/LOCALS~1/Temp/gem
> install -c -m 0755 C:/DOCUME~1/djberge/LOCALS~1/Temp/gem C:/ruby/ 
> bin/gem
> rm C:/DOCUME~1/djberge/LOCALS~1/Temp/gem
> setup.rb:87: undefined method `win_platform?' for Gem:Module  
> (NoMethodError)
>          from setup.rb:69:in `each'
>          from setup.rb:69
>          from setup.rb:66:in `chdir'
>          from setup.rb:66
> RubyGems system software updated
>
> I think it's toast:
>
> C:\Documents and Settings\djberge>gem -v
> C:/ruby/bin/gem.bat:24: uninitialized constant Gem::GemRunner  
> (NameError)
>
> Not sure what the fix is, since Gem.win_platform? does actually exist.

Does cmd.exe prefer .bat files over .cmd files?  setup.rb installs  
'gem.cmd', not 'gem.bat'...

--
Poor workers blame their tools. Good workers build better tools. The
best workers get their tools to do the work for them. -- Syndicate Wars


_______________________________________________
Rubygems-developers mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rubygems-developers

Reply via email to