How to resolve error where gem from git repository “is not checked out. Please run `bundle install`”
-
28-10-2019 - |
Question
I have been tearing my hair out for a week trying to get a project to run locally.
bundle install
works fine but when I run foreman start
, I get this error:
git://github.com/{repo_path}.git (at master) is not checked out. Please run `bundle install`
I've trawled through Stackoverflow and still can't get this to work.
OS: Lion Rails: 3.1.3 Ruby: 1.9.3-p0 Bundler: 1.0.21
Any ideas?
Solution 2
Needless to say, I've spent a lot of time trying everything to fix this. Following ALL of the troubleshooting steps here finally resolved it:
https://github.com/carlhuda/bundler/blob/master/ISSUES.md
Good luck!
OTHER TIPS
Be sure your foreman processes are specified to execute within the current bundler environment. Example line in the Procfile in your app root:
web: bundle exec thin start