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

noreply at rubyforge.org noreply at rubyforge.org
Thu Nov 12 20:32:18 EST 2009


Bugs item #27431, was opened at 2009-11-13 01: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: Open
Resolution: None
Priority: 3
Submitted By: Francis Drake (do_not_bug)
Assigned to: Nobody (None)
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.


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

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