I started what I thought was going to be a 30 minute project on the
train this morning to write a little timetracker for myself.
Amongst other things (don’t have a model called Task as it conflicts
with Rake at the moment, don’t have a model called Action as it
disappears in the hash when you submit a form :-), I had to use Webrick
as Lighty complained about an unknown variable CWD.
This looks to have been added to make the fcgi path absolute rather than
relative, but I get an error because it’s not set.
I can’t figure out how to do a fulltext search in Trac to see if it’s
been reported. A simple Browser find on the faults lists didn’t show up
‘CWD’ in the subject lines.
So any help on any of the following would be appreciated:
- Is this a known bug or should I report it? (rails fault list
- Is it possible to do a fulltext search in Trac, if so, how ? (Trac
- Is there a workaround? I suspect I just want to init th variable to
RAILS_ROOT explicitly, but I’m not sure if the config file is missing an
explicit variable set, or if CWD is a ‘magic’ variable thats just
supposed to work, but isn’t. (Lighty users ?)
I’m on Tiger .5, using the 1.1RC gem, Ruby .4 and Lighty .7