fregas
fregas

Reputation: 3250

Multiple Rubies under apache in production server

I want to run multiple rubies on our production server. We have some ruby 1.9.3 rails 3.2 sites going live as well as keep older 1.8 sites. I understand that Passenger 3.2 will be able to do this natively but isn't live yet.
So for now, is this the best way to do this?

http://blog.phusion.nl/2010/09/21/phusion-passenger-running-multiple-ruby-versions/

Upvotes: 0

Views: 121

Answers (2)

Egryan
Egryan

Reputation: 717

What about using multiple VMs/Slices for your different versions of ruby and rails, that way you have more control of your enviroment and don't have to worry about your different rubies/rails causing headaches with each other.

EDIT

Another solution that I have heard of but haven't tried is setting multiple users and running each version of ruby/rails per a different user

Upvotes: 0

Frederick Cheung
Frederick Cheung

Reputation: 84142

The apache passenger module can't do this. You could however run passenger standalone for each app (with a different ruby version) and then proxy from apache to passenger standalone.

You could of course also proxy to unicorn, thin etc.

Upvotes: 1

Related Questions