Passenger showing folder index, not site rendering with Rails

Similar to this question: Apache / Rails / Passenger showing site index?

The only difference is that my application is pointing to a shared directory.

Startup ps aux | grep rails

shows rails instance is running, but it doesn't display my app

Here is my apache2.conf: http://pastebin.com/twipcruz

One possible problem is that PassengerRoot and PassengerRuby point to different versions, but this block was just copied and pasted from the output passenger-install-apache2-module

#Passenger Setup
LoadModule passenger_module /home/john/.rvm/gems/ruby-1.9.2-p318/gems/passenger-3.0.11/ext/apache2/mod_passenger.so
   PassengerRoot /home/john/.rvm/gems/ruby-1.9.2-p318/gems/passenger-3.0.11
   PassengerRuby /usr/bin/ruby1.8

      

get this from log:

10:13:24 2012] [error] *** Passenger could not be initialized because of this error: The Passenger spawn server script, '/home/john/.rvm/gems/ruby-1.9.2-p318/gems/passenger-3.0.11/lib/phusion_passenger/passenger-spawn-server', does not exist. Please check whether the 'PassengerRoot' option is specified correctly.

      

+3


source to share


1 answer


You need to install passenger with rvmsudo, you just ran passenger installation.



+2


source







All Articles