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:
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.
This seems really strange, because the permissions on that file are such that anyone should be able to read it:
-rwxr--r-- 1 USER pg882904 4597 Apr 2 03:15 DOMAIN/config/environment.rb
If anyone has any ideas I'd be greatly appreciative.