Multiple Ruby versions at the same time ?
I have two old Rails applications that rely on ruby 1.8.4 (they should be upgraded later) on one LiteSpeed instance - cannot be upgraded right now.
I need to deploy a brand new Rails 2.2.2 on the same server, most likely with Ruby 1.8.6.
Is there a way I can specify a different Ruby version for both ? (I've seen that I can modify the PATH at the server level, not sure I can do it at the application level ?).
It is possible, but not easy, you have follow "Manual configuration" steps
In dispatch.lsapi you can set the ruby path at the beginning of the script.
thanks a lot for pointing me in the right direction!
|All times are GMT -7. The time now is 08:09 PM.|