-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Talk about Gemfile.lock merge conflicts #105
Comments
I'm getting this message and there are no git conflicts. I've complete regenerated it and still the same message of
any other reason that causes this? |
Can you share the output of |
I've found that bundle was referencing a |
@pmackay do you have the |
Ah, no I didnt. Is there any other way bundler could have been referencing the older path? |
@pmackay since you didn't supply |
It would be handy to have a section (maybe in the FAQ? maybe in getting started) that explains how to handle merge conflicts on the Gemfile.lock file. If you're using git, the easy way to fix a merge conflict is
git checkout HEAD -- Gemfile.lock && bundle install
. There are a couple of scripts that will set git up to do this for you automatically. One is a pretty simple gist that sets a git merge resolution driver and one is a git hook that also runs database migrations in rails apps.The text was updated successfully, but these errors were encountered: