生产中需要开发宝石,Phusion Passenger

时间:2012-01-11 17:05:55

标签: ruby-on-rails passenger bundler

我有一个Phusion Passenger安装,它以生产模式运行(默认设置)。我通过以下方式在服务器上安装了适当的宝石:

rvmsudo bundle --without development test cucumber

当我重新启动Passenger时,我得到:

Error message:
    https://github.com/thoughtbot/capybara-webkit.git (at master) is not checked out. Please run `bundle install` (Bundler::GitError)

capybara-webkit在我的gemfile中定义为:

gem 'capybara-webkit', :git => 'https://github.com/thoughtbot/capybara-webkit.git', :group => [:cucumber, :test, :development]

1 个答案:

答案 0 :(得分:1)

事实证明--deployment开关解决了这个问题(也不需要rvmsudo):

捆绑 - 没有开发测试黄瓜 - 部署