[Rubygems-developers] [ rubygems-Bugs-28481 ] 'gem install' always prefers local files with partial name match
noreply at rubyforge.org
noreply at rubyforge.org
Fri Nov 12 23:33:52 EST 2010
Bugs item #28481, was opened at 2010-08-17 05:21
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=575&aid=28481&group_id=126
Category: `gem install` command
Group: v1.3.x
Status: Open
Resolution: None
Priority: 3
Submitted By: Hirotsugu Asari (asarih)
>Assigned to: John Barnette (jbarnette)
Summary: 'gem install' always prefers local files with partial name match
Initial Comment:
If you try to install gem with a shorter name (e.g., active_form) from a remote server but you have a .gem file of another gem with a longer name (e.g., active_forms) in the working directory, 'gem install' will use the gem file. The exact match should be preferred.
$ ruby -v -S gem install --ignore-dependencies --no-rdoc --no-ri active_forms-0.2.1.gem
ruby 1.8.7 (2010-06-23 patchlevel 299) [i686-darwin10.4.0]
Successfully installed active_forms-0.2.1
1 gem installed
$ ruby -v -S gem install --ignore-dependencies --no-rdoc --no-ri active_form
ruby 1.8.7 (2010-06-23 patchlevel 299) [i686-darwin10.4.0]
Successfully installed active_forms-0.2.1
1 gem installed
This was first reported by Stephen Bannasch in http://jira.codehaus.org/browse/JRUBY-4934.
----------------------------------------------------------------------
Comment By: Christof Spies (wingfire)
Date: 2010-08-19 23:59
Message:
seams to be the same bug as #26109 http://rubyforge.org/tracker/index.php?func=detail&aid=26109&group_id=126&atid=575
----------------------------------------------------------------------
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=575&aid=28481&group_id=126
More information about the Rubygems-developers
mailing list