Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #4451 (closed defect: invalid)

Opened 4 years ago

Last modified 4 years ago

lighttpd config broken in 1.1

Reported by: anonymous Assigned to: David
Priority: high Milestone: 1.1
Component: Railties Version: 1.1.0 RC1
Severity: blocker Keywords: lighttpd, config, var.CWD
Cc:

Description

the lighttpd config file seems to be broken in 1.1 if I generate a new app and start the server it blows with the message ruby script/server => Booting lighttpd (use 'script/server webrick' to force WEBrick) => config/lighttpd.conf not found, copying from /opt/local/lib/ruby/gems/1.8/gems/rails-1.1.0/configs/lighttpd.conf => Rails application started on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server (see config/lighttpd.conf for options) Undefined config variable: var.CWD 2006-03-28 09:42:50: (configfile.c.800) source: config/lighttpd.conf line: 8 pos: 43 parser failed somehow near here: + Exiting

Change History

03/28/06 08:00:18 changed by maintheme@gmail.com

  • component changed from ActionPack to RailTies.

wrong component and mail for questions.

03/28/06 12:33:21 changed by scott@elitits.net

  • status changed from new to closed.
  • resolution set to invalid.

You need to upgrade your lighttpd. CWD is a new-ish feature of lighty.

03/28/06 15:42:59 changed by anonymous

I think Lighttpd-1.4.11 is the earliest version recommended by Rails 1.1.

Version 1.4.10 would probably work too, but that release is horribly buggy.