I have mod_rails and Ruby Enterprise edition. I have an error the the process spawner cannot find the fastthread gem. The problem is that the gem is installed by passenger is looking into the gem directory of the standard MRI version. I should set the GEM_PATH the same as my user. Since www-data is a special user, without any home directory and profile, how can I set that environment variable?
There should be a way to pass enviroment variable to the Apache user.