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

Go Back   LiteSpeed Support Forums > External Applications > Ruby/Rails > rails lsapi wiki clarification

Reply
 
Thread Tools Display Modes
  #1  
Old 07-11-2007, 07:12 AM
dr_seus dr_seus is offline
Member
 
Join Date: Jun 2007
Posts: 16
Default rails lsapi wiki clarification

Hello,

I just wonder if I need the dispatcher.lsapi if I use the Easy Configuration Wiki vhost setup with EasyRailsWithSuEXEC template?

The guide doesn't mention if I need to copy dispatcher.lsapi to my directory or not? That setp is only mentioned in the Step by Step configuration guide.

I wonder because when an error occurs it looks like the rails runner is using dispatcher.rb and not dispatcher.lsapi.

Code:
/usr/local/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/dispatcher.rb:39:in `dispatch'
#               /usr/local/lsws/fcgi-bin/RailsRunner.rb:24
Sorry if this has been mentioned before but I couldn't see it anywhere.

Cheers
Henke
Reply With Quote
  #2  
Old 07-11-2007, 07:29 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
No, you do not need to copy dispatch.lsapi for the easy configuration.
Reply With Quote
  #3  
Old 07-11-2007, 01:23 PM
nathanc nathanc is offline
Senior Member
 
Join Date: Jun 2007
Posts: 55
I got my rails apps running under the "context" menu rather then the "External App" like it says to do in the wiki. Can you tell me what the difference is? Should I use the "External app", instead of "Context"?
Reply With Quote
  #4  
Old 07-11-2007, 03:45 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
You should not mix the easy configuration and manual configuration together. Just pick one you like. Both works.
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 09:52 AM.



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