I am currently having some trouble getting nginx 1.1.8 + Passenger
3.0.11 back up and running after upgrading from ruby-1.8.7 to
ruby-1.9.3 and upgrading Passenger from 3.0.9 to 3.0.11.
I am using rvm to manage ruby installations. ruby-1.9.3 is selected as
default and gem list --local lists the rails gem in the correct
version:
-- 8< --
$ gem list --local
*** LOCAL GEMS ***
actionmailer (2.3.14)
actionpack (2.3.14)
activerecord (2.3.14)
activeresource (2.3.14)
activesupport (2.3.14)
daemon_controller (0.2.6)
fastthread (1.0.7)
mysql (2.8.1)
passenger (3.0.11)
rack (1.1.3)
rails (2.3.14)
rake (0.9.2)
-- 8< --
-- 8< --
$ ruby --version
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]
-- 8< --
Still, Passenger complains about a missing rails gem:
-- 8< --
The application /var/www/rails-apps/redmine requires Ruby on Rails
version 2.3.14, which is not installed. Please install it with the
following command:
rvmsudo /usr/local/rvm/wrappers/ruby-1.9.3-p0/gem install rails --version 2.3.14
-- 8< --
AFAICS, the nginx config is pointing to the right paths:
-- 8< --
passenger_root /usr/local/rvm/gems/ruby-1.9.3-p0/gems/passenger-3.0.11;
passenger_ruby /usr/local/rvm/rubies/ruby-1.9.3-p0/bin/ruby;
-- 8< --
Any ideas?
Thanks,
Thilo
Regards,
Thilo