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

Caspar Florian Ebeling florian.ebeling at gmail.com
Sun Sep 14 15:31:32 EDT 2008


On Fri, Sep 12, 2008 at 11:27 PM, Eric Hodel <drbrain at segment7.net> wrote:
> 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.

To me it still looks broken, unfortunately:

flomac:vendor febeling$ rubygems-svn/bin/gem install activesupport -i tmptrunk/
Successfully installed activesupport-2.1.1
1 gem installed
Installing ri documentation for activesupport-2.1.1...
Installing RDoc documentation for activesupport-2.1.1...
flomac:vendor febeling$ rubygems-svn/bin/gem uninstall activesupport
-i tmptrunk/

Select gem to uninstall:
 1. activesupport-1.4.2
 2. activesupport-2.1.0
 3. All versions
> ^CERROR:  Interrupted

Please note that it does not offer the newly installed version
2.1.1 for uninstallment, only my real one, 2.1.0.

This is the trunk (r1868) version.

Florian


-- 
Florian Ebeling
florian.ebeling at gmail.com


More information about the Rubygems-developers mailing list