Bugs item #28481, was opened at 2010-08-17 12: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: Closed Resolution: Accepted Priority: 3 Submitted By: Hirotsugu Asari (asarih) >Assigned to: Evan Phoenix (evan) 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: Evan Phoenix (evan) Date: 2011-06-01 07:06 Message: This is related to gem's default behavior of checking for .gem files first by default. If -r is specified, it will only consider remote sources. The bug #26109 was also fixed, which should clear up the situation. ---------------------------------------------------------------------- Comment By: Christof Spies (wingfire) Date: 2010-08-20 06: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 _______________________________________________ Rubygems-developers mailing list http://rubyforge.org/projects/rubygems Rubygems-developers@rubyforge.org http://rubyforge.org/mailman/listinfo/rubygems-developers