我的测试服务器设置:
Amazon AMI 2013
Ruby interpreter: 2.0.0-p195
Rails 3.2.13
httpd.conf文件中的Passenger部分:
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)
有什么想法吗?