I'm using RVM to handle basicly two Rubies, REE and 1.9.1. I want to make sure that my Rails app works with both. For some reason it seems that Passenger can't find my 1.9.1 Rails gem located in /home/myhome/.rvm/gems/ruby-1.9.1-p378/gems/rails-2.3.5. REE version of Rails gem is located in /home/myhome/.rvm/gems/ree-1.8.7-2010.01/gems/rails-2.3.5. "Missing the Rails 2.3.5 gem. Please `gem install -v=2.3.5 rails`, update your RAILS_GEM_VERSION setting in config/environment.rb for the Rails version you do have installed, or comment out RAILS_GEM_VERSION to use the latest version installed." I have following lines in Apache conf files: /etc/apache2/mods-enabled/passenger.load: "LoadModule passenger_module /home/pkivikan/.rvm/gems/ruby-1.9.1-p378/gems/passenger-2.2.11/ext/apache2/mod_passenger.so" /etc/apache2/mods-enabled/passenger.conf: "PassengerRoot /home/pkivikan/.rvm/gems/ruby-1.9.1-p378/gems/passenger-2.2.11" "PassengerRuby /home/pkivikan/.rvm/rubies/ruby-1.9.1-p378/bin/ruby" script/server (webrick) also loads Rails properly with 1.9.1, so why isn't Passenger loading Rails when using Ruby 1.9.1?
on 2010-03-10 13:59