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:
bundle install工作正常,但是当我运行foreman start时,我收到此错误:
git://github.com/{repo_path}.git (at master) is not checked out. Please run `bundle install`
git://github.com/ {repo_path} .git(在master中)未签出。请运行`bundle install`
I've trawled through * and still can't get this to work.
我已经通过*进行了搜索,仍然无法使其工作。
OS: Lion Rails: 3.1.3 Ruby: 1.9.3-p0 Bundler: 1.0.21
操作系统:Lion Rails:3.1.3 Ruby:1.9.3-p0 Bundler:1.0.21
Any ideas?
有任何想法吗?
2 个解决方案
#1
1
Be sure your foreman processes are specified to execute within the current bundler environment. Example line in the Procfile in your app root:
确保指定您的foreman进程在当前的bundler环境中执行。应用程序根目录中Procfile中的示例行:
web: bundle exec thin start
#2
0
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
https://github.com/carlhuda/bundler/blob/master/ISSUES.md
Good luck!
祝你好运!
#1
1
Be sure your foreman processes are specified to execute within the current bundler environment. Example line in the Procfile in your app root:
确保指定您的foreman进程在当前的bundler环境中执行。应用程序根目录中Procfile中的示例行:
web: bundle exec thin start
#2
0
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
https://github.com/carlhuda/bundler/blob/master/ISSUES.md
Good luck!
祝你好运!