RVM and missing (but fixed) gems?

I try to install RVM on OSX 10.6.7 and start using it in the sandbox for my development depending on the project, but I have some problems.

I installed RVM and created a gemset for Rails 2.3.11 and made sure that all the necessary stones were installed using the gems 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)

But when I start the server (script / server), I get the following error:

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 execution: installation does not seem to help. "which" gives me the following paths:

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

Any idea what is going on here?

+3
source share
2 answers

Ok, I get it!

authlogic, 3. rvm, authlogic, . , rails 2 environment.rb:

config.gem "authlogic", :version => '2.1.6'

. Gem , 2.

+7

? RVM , gemsets/rubies , , //, , which, .

, .rvmrc, , , cd , . .rvmrc , .

0

All Articles