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

Go Back   LiteSpeed Support Forums > External Applications > Ruby/Rails > Path Problems

Reply
 
Thread Tools Display Modes
  #1  
Old 05-09-2008, 12:00 AM
solars solars is offline
New Member
 
Join Date: May 2008
Posts: 5
Default Path Problems

Hey,

I have a rails app which includes some specific template files in the views (based on the hobo extension).

If I try to run it with litespeed with dispatch.lsapi, it cannot find those files.
If I run script/console or thin, it works.

Something is screwing up my path, but I can't find out why.
Can anyone give me a hint what this could be ?
Reply With Quote
  #2  
Old 05-09-2008, 08:17 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
You can try strace dispatch.lsapi process to find out why. dispatch.lsapi should be placed under public/ folder.

It probably easier to use the rails context unless you need some extra flexibilities.
Reply With Quote
  #3  
Old 05-20-2008, 11:51 PM
solars solars is offline
New Member
 
Join Date: May 2008
Posts: 5
sorry for the late reply,

I traced it and figured out it was an application error due to a wrong commit which screwed up the path.

Thanks a lot for your reply though.
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 01:20 AM.



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