Path Problems

Discussion in 'Ruby/Rails' started by solars, May 9, 2008.

  1. solars

    solars New Member

    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 ?
  2. mistwang

    mistwang LiteSpeed Staff

    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.
  3. solars

    solars New Member

    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.

Share This Page