If you want to add gems locally, which should not be committed to the repository:
-
Create a
Gemfile.local
and put it in.gitignore
: -
Set an env var overriding the
Gemfile
location. For example, put it in.env
if you use direnv.
Dec 04, 2024
If you want to add gems locally, which should not be committed to the repository:
Create a Gemfile.local
and put it in .gitignore
:
Set an env var overriding the Gemfile
location. For example, put it in .env
if you use direnv.