A
Aa Wilson
I've just recently installed the latest stable ruby 1.9.1 and rubygems
1.3.6 on a WinXP 32-bit system that's never seen ruby before, as well as
the dll packages listen at
http://www.garbagecollect.jp/ruby/mswin32/en/documents/install.html.
PATH is set and correct. When running any gem command (but not when
running other options, like gem --help, or gem -v), I receive the
following:
C:\>gem list --local
ERROR: While executing gem ... (NoMethodError)
undefined method `ire' for main:Object
Running with debug gives this:
C:\>gem list --local --debug
Exception `NameError' at
C:/scripting/ruby-1.9.1/lib/ruby/site_ruby/1.9.1/rubyge
ms/command_manager.rb:163 - uninitialized constant
Gem::Commands::ListCommand
Exception `NoMethodError' at
C:/scripting/ruby-1.9.1/lib/ruby/site_ruby/1.9.1/ru
bygems/commands/list_command.rb:1 - undefined method `ire' for
main:Object
Exception `NoMethodError' at
C:/scripting/ruby-1.9.1/lib/ruby/site_ruby/1.9.1/ru
bygems/command_manager.rb:169 - undefined method `ire' for main:Object
ERROR: While executing gem ... (NoMethodError)
undefined method `ire' for main:Object
C:/scripting/ruby-1.9.1/lib/ruby/site_ruby/1.9.1/rubygems/commands/list_
command.rb:1:in `<top (required)>'
C:/scripting/ruby-1.9.1/lib/ruby/site_ruby/1.9.1/rubygems/command_manage
r.rb:169:in `require'
C:/scripting/ruby-1.9.1/lib/ruby/site_ruby/1.9.1/rubygems/command_manage
r.rb:169:in `rescue in load_and_instantiate'
C:/scripting/ruby-1.9.1/lib/ruby/site_ruby/1.9.1/rubygems/command_manage
r.rb:161:in `load_and_instantiate'
C:/scripting/ruby-1.9.1/lib/ruby/site_ruby/1.9.1/rubygems/command_manage
r.rb:90:in `[]'
C:/scripting/ruby-1.9.1/lib/ruby/site_ruby/1.9.1/rubygems/command_manage
r.rb:146:in `find_command'
C:/scripting/ruby-1.9.1/lib/ruby/site_ruby/1.9.1/rubygems/command_manage
r.rb:133:in `process_args'
C:/scripting/ruby-1.9.1/lib/ruby/site_ruby/1.9.1/rubygems/command_manage
r.rb:104:in `run'
C:/scripting/ruby-1.9.1/lib/ruby/site_ruby/1.9.1/rubygems/gem_runner.rb:
58:in `run'
C:/scripting/ruby-1.9.1/bin/gem:21:in `<main>'
Thoughts?
1.3.6 on a WinXP 32-bit system that's never seen ruby before, as well as
the dll packages listen at
http://www.garbagecollect.jp/ruby/mswin32/en/documents/install.html.
PATH is set and correct. When running any gem command (but not when
running other options, like gem --help, or gem -v), I receive the
following:
C:\>gem list --local
ERROR: While executing gem ... (NoMethodError)
undefined method `ire' for main:Object
Running with debug gives this:
C:\>gem list --local --debug
Exception `NameError' at
C:/scripting/ruby-1.9.1/lib/ruby/site_ruby/1.9.1/rubyge
ms/command_manager.rb:163 - uninitialized constant
Gem::Commands::ListCommand
Exception `NoMethodError' at
C:/scripting/ruby-1.9.1/lib/ruby/site_ruby/1.9.1/ru
bygems/commands/list_command.rb:1 - undefined method `ire' for
main:Object
Exception `NoMethodError' at
C:/scripting/ruby-1.9.1/lib/ruby/site_ruby/1.9.1/ru
bygems/command_manager.rb:169 - undefined method `ire' for main:Object
ERROR: While executing gem ... (NoMethodError)
undefined method `ire' for main:Object
C:/scripting/ruby-1.9.1/lib/ruby/site_ruby/1.9.1/rubygems/commands/list_
command.rb:1:in `<top (required)>'
C:/scripting/ruby-1.9.1/lib/ruby/site_ruby/1.9.1/rubygems/command_manage
r.rb:169:in `require'
C:/scripting/ruby-1.9.1/lib/ruby/site_ruby/1.9.1/rubygems/command_manage
r.rb:169:in `rescue in load_and_instantiate'
C:/scripting/ruby-1.9.1/lib/ruby/site_ruby/1.9.1/rubygems/command_manage
r.rb:161:in `load_and_instantiate'
C:/scripting/ruby-1.9.1/lib/ruby/site_ruby/1.9.1/rubygems/command_manage
r.rb:90:in `[]'
C:/scripting/ruby-1.9.1/lib/ruby/site_ruby/1.9.1/rubygems/command_manage
r.rb:146:in `find_command'
C:/scripting/ruby-1.9.1/lib/ruby/site_ruby/1.9.1/rubygems/command_manage
r.rb:133:in `process_args'
C:/scripting/ruby-1.9.1/lib/ruby/site_ruby/1.9.1/rubygems/command_manage
r.rb:104:in `run'
C:/scripting/ruby-1.9.1/lib/ruby/site_ruby/1.9.1/rubygems/gem_runner.rb:
58:in `run'
C:/scripting/ruby-1.9.1/bin/gem:21:in `<main>'
Thoughts?