0

我的测试服务器设置:

Amazon AMI 2013
Ruby interpreter: 2.0.0-p195
Rails 3.2.13

httpd.conf 文件中的乘客部分:

LoadModule passenger_module /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenger-4.0.7/buildout/apache2/mod_passenger.so
PassengerRoot /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenger-4.0.7
PassengerDefaultRuby /usr/local/rvm/wrappers/ruby-2.0.0-p195/ruby

环境(RAILS_ENV、RACK_ENV、WSGI_ENV 和 PASSENGER_ENV 的值):

test

在我的 gemfile 中,我有以下内容:

gem "cancan", :git => "git://github.com/ryanb/cancan.git", :branch => "2.0"

当我在测试服务器上验证 gem 列表时,我看到:

康康 (1.6.10)

在里面。当我尝试运行该应用程序时,这是我得到的:

Web application could not be started
Phusion Passenger has listed more information below

git://github.com/ryanb/cancan.git (at 2.0) is not checked out. Please run `bundle install` (Bundler::GitError)

有任何想法吗?

4

0 回答 0