Bug #7204
closedgem check -a crashes with Exception `NameError' uninitialized constant Gem::Commands::CheckCommand AND Exception `NoMethodError' undefined method `add'
Description
When running the command: gem check -a
It crashes on OSX with
Exception `NameError' at /Users/me/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:177 - uninitialized constant Gem::Commands::CheckCommand
and
Exception NoMethodError' at /Users/me/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/site_ruby/1.9.1/rubygems.rb:732 - undefined method
add' for "/Users/me/.rvm/gems/ruby-1.9.3-p286@global/cache":String
ERROR: While executing gem ... (NoMethodError)
undefined method `add' for "/Users/me/.rvm/gems/ruby-1.9.3-p286@global/cache":String
** This bug can be reproduced in Ruby 1.8 as well as JRuby implementation.
I don't believe this is a problem created by RVM but I have to report its use since its in the mix as well.
This is reproducible using RVM under all installed rubies using the command: 'rvm all do gem check -a'
This error was reproduced with all installed rubies. These are:
rvm rubies
jruby-1.6.8 [ x86_64 ]
jruby-1.7.0.RC1 [ x86_64 ]
ruby-1.8.7-p370 [ i686 ]
ruby-1.9.2-p320 [ x86_64 ]
ruby-1.9.3-head [ x86_64 ]
ruby-1.9.3-p125 [ x86_64 ]
ruby-1.9.3-p194 [ x86_64 ]
=* ruby-1.9.3-p286 [ x86_64 ]
Files
Updated by davidderyldowney (David Deryl Downey) about 12 years ago
I have cross-filed with RubyGems here: https://github.com/rubygems/rubygems/issues/387
I am not sure the area of responsibility, so please forgive the cross filing. I believe this goes against Ruby itself, but am unsure so crossfiled.
Updated by nobu (Nobuyoshi Nakada) about 12 years ago
- Status changed from Open to Third Party's Issue