I finally got around to installing lighttpd on my mac for dev work,
followed the instructions at
When I go into my rails app and type “./script/server” I get the
baggio:~/work/teore pergesu$ ./script/server
=> Booting lighttpd (use ‘script/server webrick’ to force WEBrick)
=> Rails application started on http://0.0.0.0:3000
=> Call with -d to detach (requires absolute paths in
=> Ctrl-C to shutdown server (see config/lighttpd.conf for options)
2006-01-19 06:52:05: (mod_fastcgi.c.989) execve failed for:
public/dispatch.fcgi No such file or directory
2006-01-19 06:52:05: (mod_fastcgi.c.1015) the fastcgi-backend
public/dispatch.fcgi failed to start:
2006-01-19 06:52:05: (mod_fastcgi.c.1019) child exited with status 2
2006-01-19 06:52:05: (mod_fastcgi.c.1022) if you try do run PHP as
FastCGI backend make sure you use the FastCGI enabled version.
You can find out if it is the right one by executing ‘php -v’ and it
should display ‘(cgi-fcgi)’ in the output, NOT (cgi) NOR (cli)
For more information check
2006-01-19 06:52:05: (mod_fastcgi.c.1027) If this is PHP on Gentoo add
fastcgi to the USE flags
2006-01-19 06:52:05: (mod_fastcgi.c.1314) [ERROR]: spawning fcgi failed.
2006-01-19 06:52:05: (server.c.702) Configuration of plugins failed.
webrick still runs fine…public/dispatch.fcgi definitely exists, as
does the interpretter specified in the shebang (/usr/local/bin/ruby).
Any clue why this is complaining?