A local Gemfile where you can add custom local Gems that you don't want to add to the repository
Switch branches/tags
Nothing to show
Clone or download
Latest commit aefba59 Oct 12, 2017
Permalink
Failed to load latest commit information.
Gemfile.local Refactor all files Jun 19, 2012
README.md Update README.md Oct 6, 2017

README.md

A local Gemfile where you can add gems that you don't want to add to the repository

Install

Copy Gemfile.local into project root and add the following to your .gitignore:

/Gemfile.local
/Gemfile.local.lock

Also, you might want to duplicate your project's Gemfile.lock into Gemfile.local.lock to make sure gems are locked under the same versions. In your terminal run:

cp Gemfile.lock Gemfile.local.lock

To use Gemfile.local run:

bundle --gemfile Gemfile.local

Note: This should store a config in the .bundle/config file and then read from that, however I couldn't get this to work for the BUNDLE_GEMFILE config no matter what I tried. There is a bug request to add this as standard functionality to Bundler, however it appears there is nobody around to work on it: https://github.com/carlhuda/bundler/issues/183#issuecomment-595008