I installed RVM and created a gemset for Rails 2.3.11, and made sure that all required gems have gem list installed:
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 receive the following error:
< /p>
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.
Run rake gems: installation does not seem to help.
‘this’ gave me the following path:< /p>
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
Do you know what happened here?
There is a new version of authlogic that is only compatible with rails 3. Since the new rvm gemset requires authlogic to be installed, it just grabs the latest version. To fix I just need to be in my environment.rb The file contains the correct version of rails 2:
config.gem "authlogic", :version => '2.1.6'
In this case Below, the error message is a bit misleading. Gem installed is not a version supported by rails 2.
I am trying to install RVM on OSX 10.6.7 and start using it in each I sandboxed my development environment on the basis of the project, but I encountered some problems.
I installed RVM and created a gemset for Rails 2.3.11, and made sure that all needed All gems have installed 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)
But when I start the server (Script/Server), I receive the following error:
Missing these required gems:
authl ogic
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: installation does not seem to help.
‘this’ gave me the following path:
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
Do you know what happened here?
Okay I get it!
There is a new version of authlogic that is only compatible with rails 3. Since the new rvm gemset requires authlogic to be installed, it just grabs the latest version. To fix I just need to be in my environment.rb The file contains the correct version of rails 2:
config.gem "authlogic", :version => '2.1.6'
In this case Below, the error message is a bit misleading. The version installed by Gem is not a version supported by rails 2.