ruby-on-rails - bundle 安装通过没有错误,但在访问该站点时,我看到一个错误

标签 ruby-on-rails dependencies bundle passenger spree

如果我运行 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 

我也发现了这一点:

如果我进行 bundle 表演 spree ,它会返回:
/home/shadyfront/webapps/rails/gems/bundler/gems/spree-594cd0f5a53c 

但任何其他 gem 都在这里:
/home/shadyfront/webapps/rails/gems/gems/ what does that mean? 

有谁知道这可能是为什么?

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"

最佳答案

不知道是什么最终实现了这一目标,我只是尝试一下。
bundle install spree
看起来 repo 移到了 git://github.com/spree/spree.git

关于ruby-on-rails - bundle 安装通过没有错误,但在访问该站点时,我看到一个错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4997229/

相关文章:

dependencies - 解决 chef-solo Recipe 依赖关系

xcode - 提交的代码签名应用程序无效

ruby-on-rails - 为什么将 redis 添加到 Gemfile 会修复错误 : require 'redis'

ruby-on-rails - Capistrano 在部署时失败: Assets :使用 SSHKit::Command::Failed 预编译:rake 退出状态:1

linux - 在 ubuntu 18.04 中使用终端安装 vscode .deb 包

ruby-on-rails - 使用应用程序 Assets 创建 gem

javascript - 有人可以解释一下 Webpack 的 CommonsChunkPlugin

ruby-on-rails - 在开发环境中运行的所有测试相关任务——Rails 3

ruby-on-rails - ActiveRecord 在 db :reset 之后寻找用户 ID=1

ios - 重新安装 OS X 和 Xcode 4.6.3 后出现代码符号错误