[Rubygems-developers] [ rubygems-Bugs-27431 ] gem install --test fails when using a custom --install-dir

noreply at rubyforge.org noreply at rubyforge.org
Thu Apr 22 00:07:18 EDT 2010


Bugs item #27431, was opened at 2009-11-12 17:30
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=575&aid=27431&group_id=126

Category: `gem install` command (extensions)
Group: v1.3.x
>Status: Closed
>Resolution: Rejected
Priority: 3
Submitted By: Francis Drake (do_not_bug)
>Assigned to: Eric Hodel (drbrain)
Summary: gem install --test fails when using a custom --install-dir

Initial Comment:
gem install --test some.gem
and
gem install --install-dir /tmp/foo some.gem

both work, but combining the options such as

gem install --test --install-dir /tmp/foo some.gem

fails when trying to load the gem.

The workaround for the bug:

export GEM_HOME=/tmp/foo && gem check --test some

should illustrate the problem. The install command simply does not add the new gem's dir to the list of gemdirs before trying to load it.


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

>Comment By: Eric Hodel (drbrain)
Date: 2010-04-21 21:07

Message:
The --test feature is scheduled to be removed in a future version of RubyGems, so I will not be fixing this.  Sorry :(

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

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


More information about the Rubygems-developers mailing list