Ruby Path per virtual host (for Ruby1.9)?

#1
Hi, with the upcoming release of Ruby 1.9, I've been wondering about how best to handle the transition across our four servers running litespeed. As all servers have sites running Rails 1.2.x, I'd initially thought about installing 1.9 into a custom location and configuring any Rails 2.x virtual hosts to use the path to 1.9 in their Ruby Path.

Problem I'm having with this is that Ruby Path appears to be a server-only variable, that isn't appearing at the virtual-host level?

Is there a way to achieve this, or is there another way to have multiple Ruby installations running on a single server all usable via Litespeed I'm not aware of? :)
 

mistwang

LiteSpeed Staff
#2
If you want to use multiple ruby installation, you may have to use the manual setup with "dispatch.lsapi", you can specify path to ruby executable there.
 
Top