捆绑安装顺利通过,但在访问该网站时,我看到错误

发布于 2024-10-17 12:27:31 字数 1342 浏览 2 评论 0原文

如果我运行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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

贵在坚持 2024-10-24 12:27:31

不知道最终是什么实现了这一点,我只是尝试一下。

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文