I installed rvm on my OS X Snow Leopard.
And I installed ruby 1.8.7 and gemset rails3.
I also installed passenger.
My rails app runs find with 'rails server'.
However it doesn't run on passenger.
Error message is:
Could not find gem 'rails (= 3.0.0.beta4, runtime)' in the gems
available on this machine. (Bundler::GemNotFound)
I added the following line to config.ru:
ENV["GEM_PATH"] = "/Users/ssk/.rvm/gems/ruby-1.8.7-p299@rails3"
/etc/apache2/other/passenger.conf has the following:
Why can't passenger find rails?
How did you installed passenger? I think you must install it using
rvmsudo if you're using RVM:
Take a look at this: