PDA

View Full Version : Path Problems


solars
05-09-2008, 12:00 AM
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 ?

mistwang
05-09-2008, 08:17 PM
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.

solars
05-20-2008, 11:51 PM
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.