I’m wondering if it’s possible to run multiple Ruby versions at the same
time in production mode. I got some older Rails apps that need to run in
Ruby 1.8.7 and some newer ones requiring 1.9.1.
I’m wondering if it’s possible to run multiple Ruby versions at the same
time in production mode. I got some older Rails apps that need to run in
Ruby 1.8.7 and some newer ones requiring 1.9.1.
How can I run both versions at the same time?
Thanks in advance!
That depends largely on your setup. In the general case, yes, look into
rvm (Ruby Version Manager) for managing that. If your talking via
passenger, then the answer is no(ish), the same passenger process cannot
run multiple versions of Ruby. Without further details on your setup,
that’s really all the help I can give.