捆绑安装顺利通过,但在访问该网站时,我看到错误
如果我运行bundle install
,应用程序就会通过,所有内容都已正确安装。
但如果我重新启动 nginx 并访问该站点,我会看到乘客错误消息。
Ruby (Rack) application could not be started
Error message:
http://github.com/railsdog/spree.git (at master) is not checked out. Please run `bundle install` (Bundler::GitError)
Exception class:
PhusionPassenger::UnknownError
Application root:
/home/shadyfront/webapps/age_of_revolt/releases/20110214205657
我还发现了这一点:
如果我进行捆绑秀狂欢,它会返回:
/home/shadyfront/webapps/rails/gems/bundler/gems/spree-594cd0f5a53c
但任何其他宝石都在这里:
/home/shadyfront/webapps/rails/gems/gems/ what does that mean?
有人知道为什么会这样吗?
宝石档案
source 'http://rubygems.org'
gem 'rails', '3.0.3'
gem 'spree', '0.5.99', :git => 'http://github.com/spree/spree.git'
gem 'haml'
gem 'ruby-debug'
gem 'sqlite3-ruby', :require => 'sqlite3'
gem 'ckeditor', '3.4.2.pre'
# aged_revolt gem is a local gem that is generated with Spree extensions
gem "aged_revolt", :require => "aged_revolt", :path => "aged_revolt"
# this is a gem i downloaded and messed with locally
gem "spree_easy_contact", '1.0.2', :path => "#{File.expand_path(__FILE__)}/../vendor/gems/spree_easy_contact-1.0.2"
gem "honeypot-captcha"
If I run bundle install
, the application passes, everything is properly installed.
But if I reboot nginx, and visit the site, I see the Passenger Error message.
Ruby (Rack) application could not be started
Error message:
http://github.com/railsdog/spree.git (at master) is not checked out. Please run `bundle install` (Bundler::GitError)
Exception class:
PhusionPassenger::UnknownError
Application root:
/home/shadyfront/webapps/age_of_revolt/releases/20110214205657
I also found out this :
If I do a bundle show spree, It returns :
/home/shadyfront/webapps/rails/gems/bundler/gems/spree-594cd0f5a53c
but any of the other gems are here at:
/home/shadyfront/webapps/rails/gems/gems/ what does that mean?
Anyone know why this might be?
Gemfile
source 'http://rubygems.org'
gem 'rails', '3.0.3'
gem 'spree', '0.5.99', :git => 'http://github.com/spree/spree.git'
gem 'haml'
gem 'ruby-debug'
gem 'sqlite3-ruby', :require => 'sqlite3'
gem 'ckeditor', '3.4.2.pre'
# aged_revolt gem is a local gem that is generated with Spree extensions
gem "aged_revolt", :require => "aged_revolt", :path => "aged_revolt"
# this is a gem i downloaded and messed with locally
gem "spree_easy_contact", '1.0.2', :path => "#{File.expand_path(__FILE__)}/../vendor/gems/spree_easy_contact-1.0.2"
gem "honeypot-captcha"
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不知道最终是什么实现了这一点,我只是尝试一下。
bundle install spree
看起来存储库已移至 git://github.com/spree/spree.git
Not knowing what culminated to achieve this, I would simply try this.
bundle install spree
Looks like the repo moved to git://github.com/spree/spree.git