How to resolve error where gem from git repository “is not checked out. Please run `bundle install`”

StackOverflow https://stackoverflow.com/questions/8395014

문제

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?

도움이 되었습니까?

해결책 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!

다른 팁

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
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top