When developing an application where you have split out shared functionality to multiple dependent gem repositories can get cumbersome when you
- need to edit the Gemfile in order to swap local
:pathsources with:gitor just plain Rubygems sources, - then forget to
bundle update, - wonder why your git repository is dirty and it's just the modified
GemfileandGemfile.lock, - accidentally commit the
Gemfile.lockwith local:pathsources bundled etc. etc.
So what about this strategy:
A. Create a file .Gemfile.local containing: