乘客是否使用rvm ruby​​1.9.2p136和rails3.0.3?

时间:2011-01-21 09:34:29

标签: ruby-on-rails-3 apache2 passenger rvm

已安装的rvm
宝石安装乘客
当我尝试安装passenger-install-apache2-module时,它会给出什么?

root@c2h2crawler:~# ruby -v
ruby 1.9.2p136 (2010-12-25 revision 30365) [i686-linux]
root@c2h2crawler:~# passenger-install-apache2-module
/usr/local/rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/rubygems.rb:762:in `report_activate_error': Could not find RubyGem passenger (>= 0) (Gem::LoadError)
    from /usr/local/rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/rubygems.rb:219:in `activate'
    from /usr/local/rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/rubygems.rb:1065:in `gem'
    from /usr/local/rvm/gems/ruby-1.9.2-p136/bin/passenger-install-apache2-module:18:in `<main>'

乘客是否支持rvm ruby​​1.9.2p136和rails3.0.3?

1 个答案:

答案 0 :(得分:0)

好吧,我的问题是RVM不是在系统范围内安装的,它本身就是由我自己修复路径而被攻击。