[rubygems] gem list failed

Une Bévue yt.dev at free.fr
Tue Nov 14 08:52:01 PST 2006


Hey all,

i've re-installed ruby, rb-cocoa and rugemes this afternoon.

then, i get Ruby_1.8.5_1, rb-cocoa 0.4.3d2_0 and rb-rubygems 0.9.0_0

it seems rubygems whasn'y really installed rather unpacked from  
previous install.

now when trying just :

$ gem list i get an error :

/opt/local/lib/ruby/site_ruby/1.8/rubygems/cmd_manager.rb:52:in  
`initialize': uninitialized constant Gem::CommandManager::HelpCommand  
(NameError)
         from /opt/local/lib/ruby/site_ruby/1.8/rubygems/ 
cmd_manager.rb:46:in `new'
         from /opt/local/lib/ruby/site_ruby/1.8/rubygems/ 
cmd_manager.rb:46:in `instance'
         from /opt/local/lib/ruby/site_ruby/1.8/rubygems/ 
gem_runner.rb:25:in `run'
         from /opt/local/bin/gem:23

althought i've setup the following env vars :

export RUBYOPT=rubygems
export GEM_HOME=/opt/local/lib/ruby/gems/1.8
export RUBYLIB=/opt/local/lib/ruby/:/opt/local/lib/ruby/site_ruby/1.8
export RUBYGEMS=/opt/local/lib/ruby/site_ruby/1.8


what could i do in order to uninstall the failing rubygems trashing  
even the cached packaged or does exist a workaround ?


best,

Yvon





More information about the macports-users mailing list