gem file in current directory makes 'gem update' fail.
Hi,
i have the file hhvacation-0.0.1.gem my current dir and try to update with'gem update' to hhvacation-0.0.2.gem from rubygems.org.
gem is always using the hhvacation-0.0.1.gem file and the update is not happening.
Bug or feature?
wingfire
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Eric Hodel on 16 Aug, 2010 08:18 PM
Use
gem update -rto only update from remote gems. Local gems are preferred if available.Eric Hodel closed this discussion on 16 Aug, 2010 08:18 PM.
wingfire re-opened this discussion on 18 Aug, 2010 11:24 AM
3 Posted by wingfire on 18 Aug, 2010 11:24 AM
Sorry to say that gem update (with or without -r) is not working, if you have an older gem in the current directory.
4 Posted by wingfire on 20 Aug, 2010 07:08 AM
seams to be a gem bug.
http://rubyforge.org/tracker/index.php?func=detail&aid=26109&am...
Support Staff 5 Posted by Nick Quaranto on 31 Aug, 2010 01:43 AM
Great, keeping it open in the bug tracker instead of here.
Nick Quaranto closed this discussion on 31 Aug, 2010 01:43 AM.