Hey everyone, Any help would be greatly appreciated here. I''m trying to get my site up and running. Moving it from my development box running XP w/ Apache 1.3 & CGI over to my production box with Lighttpd & FCGI. When I start my server and/or run dispatch.fcgi from the command line here''s what I get: /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'': No such file to load -- fcgi (MissingSourceFile) from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'' from /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/dependencies.rb:200:in `require'' from /usr/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/fcgi_handler.rb:1 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require__'' from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'' from /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/dependencies.rb:200:in `require'' from /srv/www/htdocs/intranet/public/dispatch.fcgi:22 Line 22 of my dispatch.fcgi file is: require ''fcgi_handler'' I checked for the file path and fcgi_handler.rb does exist. I looked at the Line 1 of fcgi_handler.rb and it says require ''fcgi''. So I checked to see if there was a gem I had to install. I did "gem install fcgi" and I get: ERROR: Failed to build gem native extension. ... checking for fcgiapp.h... no checking for fastcgi/fcgiapp.h... no I''m totally lost here. Please help me. :) ==================DISCLAIMER===============================This email may contain confidential and privileged material for the sole use of the intended recipient. Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies of it from your system. The sender accepts no responsibility for viruses and it is your responsibility to scan attachments (if any). No contracts may be concluded on behalf of the sender by means of email communications unless expressly stated to the contrary. ==================DISCLAIMER================================
> > > I looked at the Line 1 of fcgi_handler.rb and it says require ''fcgi''. > So I checked to see if there was a gem I had to install. I did "gem > install fcgi" and I get: > ERROR: Failed to build gem native extension. > ... > checking for fcgiapp.h... no > checking for fastcgi/fcgiapp.h... noI ran into this same issue on freebsd. I don''t believe the gem is looking in the right place for the include files, because they were in fact installed. In any case I just installed it from the ports tree. Of course that won''t help you if you arent'' on freebsd... Chris _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
Hey Mark- Try to install the fast cgi bindings from source instead of from gems: Make sure you have the fastcgi dev kit(skip this if you do already) curl -O http://fastcgi.com/dist/fcgi.tar.gz tar xvzf fcgi-2.4.0.tar.gz cd fcgi* ./configure make sudo make install __________________________________________________ ______________ Get the ruby-fastcgi bindings curl -O http://sugi.nemui.org/pub/ruby/fcgi/ruby-fcgi-0.8.6.tar.gz tar xzvf ruby-fcgi* ruby install.rb config --without-ext ruby install.rb setup sudo ruby install.rb install HTH- -Ezra Zygmuntowicz Yakima Herald-Republic WebMaster http://yakimaherald.com 509-577-7732 ezra-gdxLOakOTQ9oetBuM9ipNAC/G2K4zDHf@public.gmane.org On Sep 20, 2005, at 9:34 AM, Marc Love wrote:> Hey everyone, > > Any help would be greatly appreciated here. I''m trying to get my site > up and running. Moving it from my development box running XP w/ > Apache > 1.3 & CGI over to my production box with Lighttpd & FCGI. > > When I start my server and/or run dispatch.fcgi from the command line > here''s what I get: > > /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in > `require__'': No such file to load -- fcgi (MissingSourceFile) > from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in > `require'' > from > /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/ > dependencies.rb:200:in > `require'' > from /usr/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/fcgi_handler.rb:1 > from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `require__'' > from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `require'' > from > /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/ > dependencies.rb:200:in > `require'' > from /srv/www/htdocs/intranet/public/dispatch.fcgi:22 > > Line 22 of my dispatch.fcgi file is: require ''fcgi_handler'' > > I checked for the file path and fcgi_handler.rb does exist. > > I looked at the Line 1 of fcgi_handler.rb and it says require ''fcgi''. > So I checked to see if there was a gem I had to install. I did "gem > install fcgi" and I get: > ERROR: Failed to build gem native extension. > ... > checking for fcgiapp.h... no > checking for fastcgi/fcgiapp.h... no > > I''m totally lost here. Please help me. :) > ==================DISCLAIMER===============================> This email may contain confidential and privileged material for the > sole use of the intended recipient. > Any review or distribution by others is strictly prohibited. If you > are not the intended recipient, please contact the sender and > delete all copies of it from your system. > The sender accepts no responsibility for viruses and it is your > responsibility to scan attachments (if any). > No contracts may be concluded on behalf of the sender by means of > email communications unless expressly stated to the contrary. > ==================DISCLAIMER===============================> > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
I had some problems unitl I installed the ruby bindings manually instead of using the gem. Hope it helps, Adrian Madrid On 9/20/05, Ezra Zygmuntowicz <ezra-gdxLOakOTQ9oetBuM9ipNAC/G2K4zDHf@public.gmane.org> wrote:> > Hey Mark- > Try to install the fast cgi bindings from source instead of from > gems: > > Make sure you have the fastcgi dev kit(skip this if you do already) > > curl -O http://fastcgi.com/dist/fcgi.tar.gz > tar xvzf fcgi-2.4.0.tar.gz > cd fcgi* > ./configure > make > sudo make install > __________________________________________________ ______________ > > Get the ruby-fastcgi bindings > > curl -O http://sugi.nemui.org/pub/ruby/fcgi/ruby-fcgi-0.8.6.tar.gz > tar xzvf ruby-fcgi* > ruby install.rb config --without-ext > ruby install.rb setup > sudo ruby install.rb install > > > HTH- > > -Ezra Zygmuntowicz > Yakima Herald-Republic > WebMaster > http://yakimaherald.com > 509-577-7732 > ezra-gdxLOakOTQ9oetBuM9ipNAC/G2K4zDHf@public.gmane.org > > > On Sep 20, 2005, at 9:34 AM, Marc Love wrote: > > > Hey everyone, > > > > Any help would be greatly appreciated here. I''m trying to get my site > > up and running. Moving it from my development box running XP w/ > > Apache > > 1.3 & CGI over to my production box with Lighttpd & FCGI. > > > > When I start my server and/or run dispatch.fcgi from the command line > > here''s what I get: > > > > /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in > > `require__'': No such file to load -- fcgi (MissingSourceFile) > > from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in > > `require'' > > from > > /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/ > > dependencies.rb:200:in > > `require'' > > from /usr/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/fcgi_handler.rb:1 > > from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > > `require__'' > > from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > > `require'' > > from > > /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/ > > dependencies.rb:200:in > > `require'' > > from /srv/www/htdocs/intranet/public/dispatch.fcgi:22 > > > > Line 22 of my dispatch.fcgi file is: require ''fcgi_handler'' > > > > I checked for the file path and fcgi_handler.rb does exist. > > > > I looked at the Line 1 of fcgi_handler.rb and it says require ''fcgi''. > > So I checked to see if there was a gem I had to install. I did "gem > > install fcgi" and I get: > > ERROR: Failed to build gem native extension. > > ... > > checking for fcgiapp.h... no > > checking for fastcgi/fcgiapp.h... no > > > > I''m totally lost here. Please help me. :) > > ==================DISCLAIMER===============================> > This email may contain confidential and privileged material for the > > sole use of the intended recipient. > > Any review or distribution by others is strictly prohibited. If you > > are not the intended recipient, please contact the sender and > > delete all copies of it from your system. > > The sender accepts no responsibility for viruses and it is your > > responsibility to scan attachments (if any). > > No contracts may be concluded on behalf of the sender by means of > > email communications unless expressly stated to the contrary. > > ==================DISCLAIMER===============================> > > > _______________________________________________ > > Rails mailing list > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Adrian Esteban Madrid aemadrid-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
Thanks guys for the help, you nailed the problem right on the head and everything seems to be working now.>>> Adrian Madrid <aemadrid-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 09/20/05 11:58AM >>>I had some problems unitl I installed the ruby bindings manually instead of using the gem. Hope it helps, Adrian Madrid On 9/20/05, Ezra Zygmuntowicz <ezra-gdxLOakOTQ9oetBuM9ipNAC/G2K4zDHf@public.gmane.org> wrote:> > Hey Mark- > Try to install the fast cgi bindings from source instead of from > gems: > > Make sure you have the fastcgi dev kit(skip this if you do already) > > curl -O http://fastcgi.com/dist/fcgi.tar.gz > tar xvzf fcgi-2.4.0.tar.gz > cd fcgi* > ./configure > make > sudo make install > __________________________________________________ ______________ > > Get the ruby-fastcgi bindings > > curl -O http://sugi.nemui.org/pub/ruby/fcgi/ruby-fcgi-0.8.6.tar.gz > tar xzvf ruby-fcgi* > ruby install.rb config --without-ext > ruby install.rb setup > sudo ruby install.rb install > > > HTH- > > -Ezra Zygmuntowicz > Yakima Herald-Republic > WebMaster > http://yakimaherald.com > 509-577-7732 > ezra-gdxLOakOTQ9oetBuM9ipNAC/G2K4zDHf@public.gmane.org > > > On Sep 20, 2005, at 9:34 AM, Marc Love wrote: > > > Hey everyone, > > > > Any help would be greatly appreciated here. I''m trying to get mysite> > up and running. Moving it from my development box running XP w/ > > Apache > > 1.3 & CGI over to my production box with Lighttpd & FCGI. > > > > When I start my server and/or run dispatch.fcgi from the commandline> > here''s what I get: > > > > /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in > > `require__'': No such file to load -- fcgi (MissingSourceFile) > > from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in > > `require'' > > from > >/usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/> > dependencies.rb:200:in > > `require'' > > from/usr/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/fcgi_handler.rb:1> > from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > > `require__'' > > from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > > `require'' > > from > >/usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/> > dependencies.rb:200:in > > `require'' > > from /srv/www/htdocs/intranet/public/dispatch.fcgi:22 > > > > Line 22 of my dispatch.fcgi file is: require ''fcgi_handler'' > > > > I checked for the file path and fcgi_handler.rb does exist. > > > > I looked at the Line 1 of fcgi_handler.rb and it says require''fcgi''.> > So I checked to see if there was a gem I had to install. I did"gem> > install fcgi" and I get: > > ERROR: Failed to build gem native extension. > > ... > > checking for fcgiapp.h... no > > checking for fastcgi/fcgiapp.h... no > > > > I''m totally lost here. Please help me. :) > > ==================DISCLAIMER===============================> > This email may contain confidential and privileged material forthe> > sole use of the intended recipient. > > Any review or distribution by others is strictly prohibited. Ifyou> > are not the intended recipient, please contact the sender and > > delete all copies of it from your system. > > The sender accepts no responsibility for viruses and it is your > > responsibility to scan attachments (if any). > > No contracts may be concluded on behalf of the sender by means of > > email communications unless expressly stated to the contrary. > > ==================DISCLAIMER===============================> > > > _______________________________________________ > > Rails mailing list > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Adrian Esteban Madrid aemadrid-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org ==================DISCLAIMER===============================This email may contain confidential and privileged material for the sole use of the intended recipient. Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies of it from your system. The sender accepts no responsibility for viruses and it is your responsibility to scan attachments (if any). No contracts may be concluded on behalf of the sender by means of email communications unless expressly stated to the contrary. ==================DISCLAIMER================================