Hello All, Thanks to those people who sent me instructions and advice on getting lighttpd working. Turns out though that none of the suggestions eventually fixed the problem of the missing FCGI.each_cgi function from the fcgi gem. The only solution I found was to go grab the fcgi.rb file installed in the ruby lib directory to my Rails application''s lib directory. Once I did this the require ''fcgi'' works as fcgi.rb has the proper API. Also, upgrading the lighttpd 1.3.14 got rid of some issues with weird random connection refused problems. On another note, did anyone notice that the latest lighttpd (1.3.14) supports SCGI? Anyone potentially interested in an SCGI connector for Ruby? I''m currently working on a libevent C extension wrapper. Might be a good first project. :-) Thanks again. Zed A. Shaw http://www.zedshaw.com/
i am new, does apache httpd have this problem? i am thinking about setup a apache. thanks. 2005/6/18, Zed A. Shaw <zedshaw-dd7LMGGEL7NBDgjK7y7TUQ@public.gmane.org>:> Hello All, > > Thanks to those people who sent me instructions and advice on getting > lighttpd working. Turns out though that none of the suggestions > eventually fixed the problem of the missing FCGI.each_cgi function from > the fcgi gem. The only solution I found was to go grab the fcgi.rb file > installed in the ruby lib directory to my Rails application''s lib > directory.
I imagine it would since the error comes from the public/dispatch.fcgi trying to call a method that is missing. Zed On Sat, 2005-06-18 at 15:32 +0800, hui wrote:> i am new, > does apache httpd have this problem? > i am thinking about setup a apache. > > thanks. > > 2005/6/18, Zed A. Shaw <zedshaw-dd7LMGGEL7NBDgjK7y7TUQ@public.gmane.org>: > > Hello All, > > > > Thanks to those people who sent me instructions and advice on getting > > lighttpd working. Turns out though that none of the suggestions > > eventually fixed the problem of the missing FCGI.each_cgi function from > > the fcgi gem. The only solution I found was to go grab the fcgi.rb file > > installed in the ruby lib directory to my Rails application''s lib > > directory. > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails > >