Versioning Ruby gems in a git repository -


what best practices storing gems in 1 git repository? should kept in 1 repository? should each gem versioned on own? i'm concerned gems shared on per project basis - though defeats purpose of gem, can reused , shared in other projects. wanted easy way keep of gems versioned, preferably without having worry 50 git repos.. , push them gem server whenever they're ready pushed.

i agree maarons bundler and/or rvm gemsets best practice, if want keep gem code versioned part of applications repo, think solution you're looking vendor gems , add them submodules application's git repo.

you can vendor current gems running rake task: rake gems:build

any new gems want install can installed plugin running ruby script/plugin install your_plugin . should clone git repo of plugin you're interested in. see appropriate plugin docs more options (like grab specific release).


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -