In my Apache config I have:
LoadModule passenger_module /home/ruby/.rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.11/ext/apache2/mod_passenger.soPassengerRoot /home/ruby/.rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.11PassengerRuby /home/ruby/.rvm/wrappers/ruby-1.9.2-p290/ruby
PassengerPreStart http://www.example.com/PassengerMinInstances 1When I restart Apache the application is not started, and the error log says:
/usr/bin/env: ruby: No such file or directoryThis is because there is no system-wide copy of Ruby installed - as you can see I am using RVM.
Looking through the archives I've seen a few people with the same
problem, and the only suggestion I found was to fix the PATH to include Ruby... But since I specifically set the PassengerRuby option, shouldn't that be used to launch the helper script instead?
Thanks
Dave