To be able to run Chiliproject (Fork of Redmine) using Phusion Passenger you need to implement 1 work around. It doesn’t seem like Passenger is aware of environment variables. I saw the following errors in “log/production.log”
Processing ApplicationController#index (for 192.168.0.105 at 2011-08-14 13:40:01) [GET]
Parameters: {"controller"=>"settings", "action"=>"index"}
ArgumentError (invalid byte sequence in US-ASCII):
:10:in `synchronize'
:10:in `synchronize'
Rendering /srv/http/chiliproject/public/500.html (500 Internal Server Error)
Therefore create the following executeable using the code beneath and save it as e.g. /usr/bin/ruby-passenger.
#!/bin/bash exec /usr/bin/ruby -E utf-8:utf-8 "$@"
Make sure you make it executable by running
# chmod +x /usr/bin/ruby-passenger
// CrashMAG