[Rubygems-developers] Gem uninstall not working on windows w/1.1.1?

Chad Woolley thewoolleyman at gmail.com
Sun Apr 13 06:55:26 EDT 2008

On Sat, Apr 12, 2008 at 10:00 PM, Luis Lavena <luislavena at gmail.com> wrote:
>  Can you tell me if the mongrel gem is pre-1.x ?
>  Please check the path and directory name the gem got installed.
>  gem which mongrel

OK.  Here is the --debug output from uninstall as well.

I suspect this is because I've been reinstalling different old
versions of RubyGems back through 0.8.11, and something bad got left
over.  I'm just going to blow it away and reinstall.  If you want, I
can zip up my ruby dir and let you look at it first.

C:\>gem which mongrel
(checking gem mongrel-1.0.1-x86-mswin32 for mongrel)

C:\>gem uninstall mongrel --install-dir=c:/ruby/lib/ruby/gems/1.8 --debug
Exception `NameError' at
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:133 -
uninitialized constant Gem::Commands::Un
Exception `Gem::GemNotInHomeException' at
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/uninstaller.rb:142 - Gem is
not installed in dir
ectory c:/ruby/lib/ruby/gems/1.8
INFO:  In order to remove mongrel, please execute:
        gem uninstall mongrel --install-dir=c:/ruby/lib/ruby/gems/1.8

More information about the Rubygems-developers mailing list