ruby - Exclude certain gems from rubygems "gem update" command -
I have a gem that I maintain purely for personal use which is an old hosted on RubyGomas There is a name struggle with gems. Org. When I run very sure you can not, but you In addition, I really impressed with the RubyGems source code many times I have seen, it probably will not be very difficult to add this feature. They can accept the pull request for this gem update , the rubygems.org version is downloaded. I would like to keep this from happening. I know that I can clearly specify to include the gem with the
gem update , but would I like to specify out?
GEM list - Can easily script a solution with local (on UNIX). Awk '{print $ 1}' | Grep -v YOUR_GEMNAME | Besides, Xargs GEM update
Comments
Post a Comment