Reputation: 191
The root cause of my problem is that json 1.8.3 won't install. The original version of rails in my gem file was 4.1.14. I changed it to 4.1.16 and ran bundle update. json 1.8.6 was then installed locally.
However, when I deploy to Heroku, it still resolves the rails version to 4.1.16 and tries installing json 1.8.3 (which fails).
What can I do to resolve this issue and be able to successfully deploy my app?
Upvotes: 0
Views: 61
Reputation: 28305
The gem version should never resolve differently. That's the whole purpose of the Gemfile.lock
.
Ensure that you have committed and pushed any changes to the Gemfile.lock
.
If the file is not in source control (e.g. if you've added it to .gitignore
?), then don't do that -- the file should be in source control.
Upvotes: 1