这个错误是什么意思?
只是在这里寻找一个超级简单的答案。
我的应用程序返回以下内容:
Error message:
git://github.com/spree/spree.git (at master) is not checked out. Please run `bundle install` (Bundler::GitError)
Exception class:
PhusionPassenger::UnknownError
Application root:
/home/shadyfront/webapps/revolting_age/Age-of-Revolt
“未签出”是什么意思?
我的 nginx.conf 中有:
env GEM_HOME=/home/shadyfront/.rvm/gems/ruby-1.8.7-p330@revolting_gems;
当我执行 bundle show spree
时:
#> /home/shadyfront/.rvm/gems/ruby-1.8.7-p330@revolt/bundler/gems/spree-1706124f2f94
并且我的 gem env 中有:
RubyGems Environment:
- RUBYGEMS VERSION: 1.5.2
- RUBY VERSION: 1.8.7 (2010-12-23 patchlevel 330) [i686-linux]
- INSTALLATION DIRECTORY: /home/shadyfront/.rvm/gems/ruby-1.8.7-p330@revolting_gems
- RUBY EXECUTABLE: /home/shadyfront/.rvm/rubies/ruby-1.8.7-p330/bin/ruby
- EXECUTABLE DIRECTORY: /home/shadyfront/.rvm/gems/ruby-1.8.7-p330@revolting_gems/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86-linux
- GEM PATHS:
- /home/shadyfront/.rvm/gems/ruby-1.8.7-p330@revolting_gems
- /home/shadyfront/.rvm/gems/ruby-1.8.7-p330@global
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- http://rubygems.org/
bundle install 每次都会通过。
Just looking for a super simple answer here.
My app returns this :
Error message:
git://github.com/spree/spree.git (at master) is not checked out. Please run `bundle install` (Bundler::GitError)
Exception class:
PhusionPassenger::UnknownError
Application root:
/home/shadyfront/webapps/revolting_age/Age-of-Revolt
What does that mean, "is not checked out" ?
I have here in my nginx.conf :
env GEM_HOME=/home/shadyfront/.rvm/gems/ruby-1.8.7-p330@revolting_gems;
When I perform bundle show spree
:
#> /home/shadyfront/.rvm/gems/ruby-1.8.7-p330@revolt/bundler/gems/spree-1706124f2f94
And I have here in my gem env:
RubyGems Environment:
- RUBYGEMS VERSION: 1.5.2
- RUBY VERSION: 1.8.7 (2010-12-23 patchlevel 330) [i686-linux]
- INSTALLATION DIRECTORY: /home/shadyfront/.rvm/gems/ruby-1.8.7-p330@revolting_gems
- RUBY EXECUTABLE: /home/shadyfront/.rvm/rubies/ruby-1.8.7-p330/bin/ruby
- EXECUTABLE DIRECTORY: /home/shadyfront/.rvm/gems/ruby-1.8.7-p330@revolting_gems/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86-linux
- GEM PATHS:
- /home/shadyfront/.rvm/gems/ruby-1.8.7-p330@revolting_gems
- /home/shadyfront/.rvm/gems/ruby-1.8.7-p330@global
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- http://rubygems.org/
bundle install passes everytime.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这意味着您没有从 git 存储库中签出 spree 的源代码。您是否按照错误消息提示运行了
bundle install
?It means you don't have the source code for spree checked out from its git repository. Have you run
bundle install
like the error message suggests?您尝试过
捆绑包
吗?看起来与此问题类似: 使用bundler和phusion乘客部署rails3应用程序:找不到.bundle目录Have you tried
bundle pack
? Looks like a similar problem to this question: deploying rails3 apps with bundler and phusion passenger: .bundle dir not found