我正在尝试在OSX 10.6.7上安装RVM,并开始使用它来为每个项目创建开发环境,但是遇到了一些问题。
我已经安装了RVM,并为Rails 2.3.11创建了一个gemset,并确保所有需要的gem都已通过gem list安装:
但是当我启动服务器(script/server)时,我会收到以下错误提示:
我已经安装了RVM,并为Rails 2.3.11创建了一个gemset,并确保所有需要的gem都已通过gem list安装:
actionmailer (2.3.11)
actionpack (2.3.11)
activemodel (3.0.7)
activerecord (3.0.7, 2.3.11)
activeresource (2.3.11)
activesupport (3.0.7, 2.3.11)
acts_as_commentable (3.0.1)
ajaxful_rating (2.2.8.2)
arel (2.0.9)
authlogic (3.0.2)
builder (2.1.2)
geokit (1.5.0)
i18n (0.5.0)
mysql (2.8.1)
rack (1.1.2)
rails (2.3.11)
rake (0.8.7)
rbbcode (0.1.11)
sanitize-url (0.1.4)
tzinfo (0.3.27)
will_paginate (2.3.15)
但是当我启动服务器(script/server)时,我会收到以下错误提示:
Missing these required gems:
authlogic
You're running:
ruby 1.8.7.334 at /Users/Nick/.rvm/rubies/ruby-1.8.7-p334/bin/ruby
rubygems 1.6.2 at /Users/Nick/.rvm/gems/ruby-1.8.7-p334, /Users/Nick/.rvm/gems/ruby-1.8.7-p334@global
Run `rake gems:install` to install the missing gems.
运行rake gems:install似乎没有帮助。 'which'给了我以下路径:
which ruby
/Users/Nick/.rvm/rubies/ruby-1.8.7-p334/bin/ruby
which gem
/Users/Nick/.rvm/rubies/ruby-1.8.7-p334/bin/gem
这里发生了什么事情,有任何想法吗?