Passenger error #2


Hi All,

I’m trying to run a Ruby on Rails application on DreamHost, using Passenger. I’ve configured the domain appropriately and the Passenger Gem is installed.

However, I’m getting the following error when browsing to the site:

[code]Passenger error #2

An error occurred while trying to access ‘/home/USER/DOMAIN/config/environment.rb’: Cannot stat ‘/home/USER/DOMAIN/config/environment.rb’: Permission denied (13)
Apache doesn’t have read permissions to that file. Please fix the relevant file permissions.[/code]

This seems really strange, because the permissions on that file are such that anyone should be able to read it:

If anyone has any ideas I’d be greatly appreciative.

Duncan Bayne


Check the permissions on the DOMAIN and DOMAIN/config directories?


drwxr-xr-x 12 USER pg882904 4096 Apr 2 03:15 DOMAIN drwxr--r-- 6 USER pg882904 4096 Apr 2 03:15 config

Ohhhhh … right, config wasn’t executable, thanks :). Now I’m getting a 500 error. Progress :slight_smile: