Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 

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

About

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

Resources

Releases

No releases published
You can’t perform that action at this time.