I *think* I've got a fairly straightforward problem here that someone who is familiar with Rails/Passenger/Bundler might be able to answer.
Passenger (or maybe Bundler) seems to be having difficulty accessing the site config files (e.g. database.yml) because it's running as "nobody".
Obviously "nobody" can't be allowed to access files with sensitive information in them -- so I need to change the user that Passenger (Bundler?) is using.
I have no idea how to do this.
@woozle without knowing the entirety of your stack, https://www.phusionpassenger.com/library/config/apache/reference/#passengeruser ?
@woozle no problem! The odd part is it _should_ "do the right thing" based on the ownership of your config.ru or whatever but doesn't seem to be doing so.
@woozle ah: if the file is owned by root, it'll default to nobody:nogroup (see the cases in https://www.phusionpassenger.com/library/deploy/apache/user_sandboxing.html#how-it-works)
@r4v5 Okay, the file (config.ru) *is* owned by root, because it was installed by root to be used by whatever virtual domains need it.
So I *think* maybe I just need to add that PassengerDefaultUser into the Apache config for the vdomain...
On the internet, everyone knows you're a cat — and that's totally okay.