I have a problem with lighttpd on OSX.
Everything builds fine (and webrick runs just fine) but lighttpd barfs:
edward-kenworthys-computer:~/Development/Ruby/pricematic/trunk edward$
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
=> Ctrl-C to shutdown server (see config/lighttpd.conf for options)
/Users/edward/Development/Ruby/pricematic/trunk/public/…/config/boot.rb:15:in
require': No such file to load -- rubygems (LoadError) from /Users/edward/Development/Ruby/pricematic/trunk/public/../config/boot.rb:15 from /Users/edward/Development/Ruby/pricematic/trunk/public/../config/environment.rb:8:in
require’
from
/Users/edward/Development/Ruby/pricematic/trunk/public/…/config/environment.rb:8
from
/Users/edward/Development/Ruby/pricematic/trunk/public/dispatch.fcgi:21:in
`require’
from
/Users/edward/Development/Ruby/pricematic/trunk/public/dispatch.fcgi:21
2006-06-15 21:02:59: (mod_fastcgi.c.1048) the fastcgi-backend
/Users/edward/Development/Ruby/pricematic/trunk/public/dispatch.fcgi
failed to start:
2006-06-15 21:02:59: (mod_fastcgi.c.1052) child exited with status 1
/Users/edward/Development/Ruby/pricematic/trunk/public/dispatch.fcgi
2006-06-15 21:02:59: (mod_fastcgi.c.1055) 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
http://www.lighttpd.net/documentation/fastcgi.html#preparing-php-as-a-fastcgi-program
2006-06-15 21:02:59: (mod_fastcgi.c.1060) If this is PHP on Gentoo add
fastcgi to the USE flags
2006-06-15 21:02:59: (mod_fastcgi.c.1356) [ERROR]: spawning fcgi failed.
2006-06-15 21:02:59: (server.c.834) Configuration of plugins failed.
Going down.
Exiting
edward-kenworthys-computer:~/Development/Ruby/pricematic/trunk edward$
Anyone have any ideas?
Edward