[Rubygems-developers] Is this a bug? Uninstall from --install-dir

Eric Hodel drbrain at segment7.net
Fri Sep 12 17:27:26 EDT 2008


On Aug 27, 2008, at 06:05 AM, Caspar Florian Ebeling wrote:

> This seems to be a bug:
>
> $ mkdir gem_stage/
> $ gem install  --install-dir gem_stage --local externals-1.0.0.gem
> Successfully installed externals-1.0.0
> 1 gem installed
> Installing ri documentation for externals-1.0.0...
> Installing RDoc documentation for externals-1.0.0...
> $ gem uninstall externals --install-dir gem_stage
> ERROR:  While executing gem ... (Gem::InstallError)
>    Unknown gem externals >= 0
>
> Basically, --install-dir seems to be ignored on uninstall.

This seems to work on trunk.

$ ruby -Ilib bin/gem ins rubyforge -i ~/tmp/gems
Successfully installed rubyforge-1.0.0
1 gem installed
Installing ri documentation for rubyforge-1.0.0...
Installing RDoc documentation for rubyforge-1.0.0...
$ ruby -Ilib bin/gem unin rubyforge -i ~/tmp/gems
Remove executables:
	rubyforge

in addition to the gem? [Yn]  y
Removing rubyforge
Successfully uninstalled rubyforge-1.0.0
$


More information about the Rubygems-developers mailing list