[Rubygems-developers] [ rubygems-Bugs-25405 ] gem cleanup does not work with non-system gem installations

noreply at rubyforge.org noreply at rubyforge.org
Mon Apr 13 00:32:42 EDT 2009


Bugs item #25405, was opened at 2009-04-13 00:32
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=575&aid=25405&group_id=126

Category: `gem` commands (other)
Group: v1.3.x
Status: Open
Resolution: None
Priority: 3
Submitted By: Brett Eisenberg (brett)
Assigned to: Nobody (None)
Summary: gem cleanup does not work with non-system gem installations

Initial Comment:
[brett at rubygems]:~% gem cleanup --debug
Exception `NameError' at /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/command_manager.rb:134 - uninitialized constant Gem::Commands::CleanupCommand
Cleaning up installed gems...
Exception `NameError' at /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/command_manager.rb:134 - uninitialized constant Gem::Commands::UninstallCommand
Attempting to uninstall memcache-client-1.7.1
Exception `Gem::InstallError' at /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/uninstaller.rb:61 - Unknown gem memcache-client = 1.7.1
ERROR:  While executing gem ... (Gem::InstallError)
    Unknown gem memcache-client = 1.7.1
	/opt/local/lib/ruby/vendor_ruby/1.8/rubygems/uninstaller.rb:61:in `uninstall'
	/opt/local/lib/ruby/vendor_ruby/1.8/rubygems/commands/cleanup_command.rb:78:in `execute'
	/opt/local/lib/ruby/vendor_ruby/1.8/rubygems/commands/cleanup_command.rb:65:in `each'
	/opt/local/lib/ruby/vendor_ruby/1.8/rubygems/commands/cleanup_command.rb:65:in `execute'
	/opt/local/lib/ruby/vendor_ruby/1.8/rubygems/command.rb:136:in `invoke'
	/opt/local/lib/ruby/vendor_ruby/1.8/rubygems/command_manager.rb:105:in `process_args'
	/opt/local/lib/ruby/vendor_ruby/1.8/rubygems/command_manager.rb:75:in `run'
	/opt/local/lib/ruby/vendor_ruby/1.8/rubygems/gem_runner.rb:39:in `run'
	/opt/local/bin/gem:24
[brett at rubygems]:~% gem search memcache-client

*** LOCAL GEMS ***

memcache-client (1.7.2, 1.7.1)


----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=575&aid=25405&group_id=126


More information about the Rubygems-developers mailing list