LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Multiple Ruby versions at the same time ?

Reply
 
Thread Tools Display Modes
  #1  
Old 12-17-2008, 12:09 PM
thbar thbar is offline
Member
 
Join Date: Sep 2006
Posts: 33
Default 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
Reply With Quote
  #2  
Old 12-18-2008, 02:14 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,585
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.
Reply With Quote
  #3  
Old 12-19-2008, 01:11 AM
thbar thbar is offline
Member
 
Join Date: Sep 2006
Posts: 33
Hello Mistwang,

thanks a lot for pointing me in the right direction!

cheers

Thibaut
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 05:47 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.