or Create a profile
16 Aug, 2010 10:55 AM
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?
2 Posted by Eric Hodel on 16 Aug, 2010 08:18 PM
Use gem update -r to only update from remote gems. Local gems are preferred if available.
gem update -r
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.
# ruby -v
ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux]
# gem -v
# gem list
*** LOCAL GEMS ***
# gem update -r
Updating installed gems
Successfully installed hhvacation-0.0.1
Gems updated: hhvacation
4 Posted by wingfire on 20 Aug, 2010 07:08 AM
seams to be a gem bug.
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.
Comments are currently closed for this discussion.
You can start a new one.
3 people watching.
No more actions from RubyGems.org or the discussion starter are required.
This discussion is private.
Only you and RubyGems.org support staff can see and reply to it.
This discussion is public. Everyone can see and reply to it.
Powered by Tender™.