LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   Install/Configuration (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=11)
-   -   Multiple Ruby versions at the same time ? (http://www.litespeedtech.com/support/forum/showthread.php?t=2547)

thbar 12-17-2008 12:09 PM

Multiple Ruby versions at the same time ?
 
Hello,

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 ?).

thank you!

-- Thibaut

mistwang 12-18-2008 02:14 PM

It is possible, but not easy, you have follow "Manual configuration" steps

http://www.litespeedtech.com/support...iki:ruby_rails

In dispatch.lsapi you can set the ruby path at the beginning of the script.

thbar 12-19-2008 01:11 AM

Hello Mistwang,

thanks a lot for pointing me in the right direction!

cheers

Thibaut


All times are GMT -7. The time now is 08:09 PM.