Comment 4 for bug 624598

kapouer (kapouer) wrote :

The problem at hand is that passenger spawns rails instance based on the application root path,
which is obviously the same in both virtualhosts.
Here's a quick fix :
cd /var/lib/redmine/redalpha
ln -s /usr/share/redmine passenger
cd /var/lib/redmine/redbeta
ln -s /usr/share/redmine passenger

Then add to redalpha virtualhost config :
PassengerAppRoot /var/lib/redmine/redalpha/passenger

and to redbeta virtualhost config :
PassengerAppRoot /var/lib/redmine/redbeta/passenger

Restart and you're done !