[Locomotive-users] problem launching rails app

Jack Wu wulabs at gmail.com
Wed Jul 19 19:06:48 GMT 2006


<FIRST OF ALL THE NO LINES LONGER THAN 80 CHAR IS ANNOYING>

Hi this is my first post.
I'm having problems launching my rails app.
Here is the error in console.app.  I chmod'ed the dispatch.fcgi to 777.  

/Users/jackwu/Sites/la/public/dispatch.fcgi:21:in `require': 
No such file to load 
-- /Users/jackwu/Sites/la/public/../config/environment (LoadError)
	from /Users/jackwu/Sites/la/public/dispatch.fcgi:21
(mod_fastcgi.c.920) the fastcgi-backend 
/Users/jackwu/Sites/la/public/dispatch.fcgi failed to start: 
(mod_fastcgi.c.924) child exited with status 1 
/Users/jackwu/Sites/la/public/dispatch.fcgi 
(mod_fastcgi.c.927) 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 
(mod_fastcgi.c.932) If this is PHP on Gentoo add fastcgi to the USE flags 
(mod_fastcgi.c.1217) [ERROR]: spawning fcgi failed. 
(server.c.670) Configuration of plugins failed. Going down. 



More information about the Locomotive-users mailing list