sign inHome | Recent Changes | All Pages | HelpSearch:

Lighttpd Problems

Problem: File not found error

You see:


$ ./script/server -d lighttpd

=> Booting lighttpd (use 'script/server webrick' to force WEBrick)
=> Configuration in config/lighttpd.conf
=> Rails application started on http://0.0.0.0:8040
2006-09-14 17:01:22: (mod_fastcgi.c.1022) execve
failed for: /path/to/rails/public/dispatch.fcgi No
such file or directory

Solution: Check your ruby interpreter


$ head /path/to/rails/public/dispatch.fcgi
#! C:
uby
uby.exe
..
..

$ which ruby
/usr/bin/ruby

Modify your dispatch.fcgi to point to the proper path for ruby.


Powered by JunebugWiki v0.0.28 Last edited by robbyrussell on February 06, 2007 12:07 AM (diff)
Version 2 (current) «olderversions