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

Go Back   LiteSpeed Support Forums > External Applications > Ruby/Rails > Will there be official support for Rails >= 2.3

Reply
 
Thread Tools Display Modes
  #21  
Old 03-18-2009, 07:23 AM
kule kule is offline
Member
 
Join Date: Oct 2008
Posts: 20
Oh just to add - remember that we're using a regular expression to find the version. If it can't find the constant we're after rails_ver will end up being nil (similar to null in most other languages).

So you may want to check before using it:

Code:
if rails_ver.nil?
  # assume old way or throw exception
else
  # whatever you wish to do
end

Last edited by kule; 03-18-2009 at 07:29 AM..
Reply With Quote
  #22  
Old 03-18-2009, 07:55 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Thanks!
Now, the RailsRunner.rb in the latest 4.0 release package should be compatible with all Rails release now.
Reply With Quote
  #23  
Old 03-25-2009, 11:07 PM
pguy pguy is offline
Member
 
Join Date: Jul 2007
Posts: 28
Is there any documentation on getting Rails 2.3 to work with LS 4.0?
Reply With Quote
  #24  
Old 03-26-2009, 03:32 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Just replace the RailsRunner.rb with the one from LS 4.0. it should work with 3.3.24 release as well.
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 06:29 AM.



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