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 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?

very sure you can not, but you

  GEM list - Can easily script a solution with local (on UNIX). Awk '{print $ 1}' | Grep -v YOUR_GEMNAME | Besides, Xargs GEM update   

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

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -