Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Phusion Passenger with Ruby 1.8 and 1.9?

How would I go about running two separate Rails applications using Phusion Passenger with one using Ruby 1.8.x and the other using Ruby 1.9.x ? I'm running Redmine which isn't Ruby 1.9.x compatible, and the other application is a home grown app.

I'm using Apache 2.2.x with Passenger 2.2.4.

Is this even possible ?

like image 306
ash Avatar asked Aug 18 '09 00:08

ash


2 Answers

I ended up running Nginx with Passenger and Ruby 1.9 on port 80, and then proxying off my other virtual hosts to Apache 2.2 on port 8080 with Passenger and Ruby 1.8. Win!

like image 192
ash Avatar answered Sep 21 '22 15:09

ash


Just a little late but I found this thanks to Google: Phusion Passenger & running multiple Ruby versions Must be the necromancer in me.

like image 26
Reuben Mallaby Avatar answered Sep 22 '22 15:09

Reuben Mallaby