Passenger not booting Rails App

Posted by firecall on Server Fault See other posts from Server Fault or by firecall
Published on 2010-10-03T04:56:32Z Indexed on 2011/01/14 5:54 UTC
Read the original article Hit count: 401

I'm at the end of ability, so time to ask for help. My hosting company are moving me to a new server. I've got my own VPS. It's a fresh CentOS 5 install with Plesk 9.5.2

Essentially Passenger just doesnt seem to be booting the Rails app. It's like it doesnt see it's a Rails app to be booted.

I've got Rails 3.0 install with Ruby 1.9.2 built from source. I can run Bundle Install and that works.

I've currently got Passenger 3 RC1 installed as per here, but have tried v2 as well.

My conf/vhost.conf file looks like this:

DocumentRoot /var/www/vhosts/foosite.com.au/httpdocs/public/
RackEnv development
#Options Indexes

I've got a /etc/httpd/conf.d/passenger.conf file which looks like this:

LoadModule passenger_module /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.0.pre4/ext/apache2/mod_passenger.so
PassengerRoot /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.0.pre4
PassengerRuby /usr/local/bin/ruby
PassengerLogLevel 2

and all I get is a 403 forbidden or the directory listing if I enable Indexes.

I dont know what else to do! Yikes. There's nothing in the Apache error log that I can see. The new server admin isnt much help as I think he's a bit junior and says he doesnt know about Rails... sigh :/

I'm a programmer and server admin isnt my bag :(

© Server Fault or respective owner

Related posts about plesk

Related posts about ruby-on-rails