We have a Gemfile
currently in our git repository. However, there's a gem I use only locally in my environment (my team doesn't use it). In order to use it, I have to add it to our Gemfile
, but every time I check out to our master/dev main branch, I have to remove it because of conflicts with the tracked gemfile.
What I would like is something like a Gemfile.local
which would inherit the gems imported from the Gemfile
but to also allow new gems to be imported there to use on my machine only. This file would be ignored in .gitignore
. Is this even possible?