hi, all I have encounter a problem to install ''fcgi'', this is the error output ------------------------------------------------------------------------------------ ruby extconf.rb install fcgi ruby: No such file or directory -- extconf.rb (LoadError) ------------------------------------------------------------------------------------ so I manually run extconf.rb but still not work: --------------------------------------------------------------------------------------------------- have_header: checking for fcgiapp.h... -------------------- no have_header: checking for fastcgi/fcgiapp.h... -------------------- no It looks like missing some header files and lib, Can someone pls tell me where to look for those file. thanks I''m using windows xp sp2 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
@Nick. Abandon hope for doing this on Windows. It''s not possible. :) There are other ways to deploy on Windows. If you''re developing, you simply don''t need to do anything other than using ruby script/server. Deployment is different but there are better options than Fastcgi. On Dec 11, 2007 10:17 AM, Nick <nextsoon-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org> wrote:> > hi, all > > I have encounter a problem to install ''fcgi'', this is the error output > > ------------------------------------------------------------------------------------ > ruby extconf.rb install fcgi > ruby: No such file or directory -- extconf.rb (LoadError) > > ------------------------------------------------------------------------------------ > so I manually run extconf.rb but still not work: > > --------------------------------------------------------------------------------------------------- > have_header: checking for fcgiapp.h... -------------------- no > have_header: checking for fastcgi/fcgiapp.h... -------------------- no > > It looks like missing some header files and lib, Can someone pls tell > me where to look for those file. thanks > > I''m using windows xp sp2 > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
what''s wrong with windows? :( I''m looking for a good way to deploy it on Windows, are you saying I need to avoid using fcgi? Then, could you point me to the right direction. On Dec 11, 11:42 am, "Brian Hogan" <bpho...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> @Nick. > Abandon hope for doing this on Windows. It''s not possible. :) > > There are other ways to deploy on Windows. If you''re developing, you simply > don''t need to do anything other than using ruby script/server. Deployment > is different but there are better options than Fastcgi. > > On Dec 11, 2007 10:17 AM, Nick <nexts...-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org> wrote: > > > > > hi, all > > > I have encounter a problem to install ''fcgi'', this is the error output > > > ------------------------------------------------------------------------------------ > > ruby extconf.rb install fcgi > > ruby: No such file or directory -- extconf.rb (LoadError) > > > ------------------------------------------------------------------------------------ > > so I manually run extconf.rb but still not work: > > > --------------------------------------------------------------------------------------------------- > > have_header: checking for fcgiapp.h... -------------------- no > > have_header: checking for fastcgi/fcgiapp.h... -------------------- no > > > It looks like missing some header files and lib, Can someone pls tell > > me where to look for those file. thanks > > > I''m using windows xp sp2--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I''ve written about this extensively on this list as well as in this book: http://www.pragprog.com/titles/fr_deploy Bottom line: Ruby on Windows is *much* slower. I deploy lots of apps on it though with success. The approach you want to look at is to use a combination of Apache 2.2 with mod_proxy_balancer and several instances of your app running via Mongrel. This is very similar to how it''s done on the *nix side now. You can hide all this behind an existing IIS installation using the ISAPI_REWRITE filter and a plugin I wrote called reverse_proxy_fix. Setting this all up is a bit complicated at first, but it''s all covered in the aforementioned book. Alternatively, set up a linux VM on top of Windows and deploy your app to that. You''ll then be able to automate it using Capistrano or other tools. If you need more info, contact me off list and I can try to help you. On Dec 11, 2007 10:59 AM, Nick <nextsoon-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org> wrote:> > what''s wrong with windows? :( > I''m looking for a good way to deploy it on Windows, are you saying I > need to avoid using fcgi? > Then, could you point me to the right direction. > > > On Dec 11, 11:42 am, "Brian Hogan" <bpho...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > @Nick. > > Abandon hope for doing this on Windows. It''s not possible. :) > > > > There are other ways to deploy on Windows. If you''re developing, you > simply > > don''t need to do anything other than using ruby script/server. > Deployment > > is different but there are better options than Fastcgi. > > > > On Dec 11, 2007 10:17 AM, Nick <nexts...-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org> wrote: > > > > > > > > > hi, all > > > > > I have encounter a problem to install ''fcgi'', this is the error output > > > > > > ------------------------------------------------------------------------------------ > > > ruby extconf.rb install fcgi > > > ruby: No such file or directory -- extconf.rb (LoadError) > > > > > > ------------------------------------------------------------------------------------ > > > so I manually run extconf.rb but still not work: > > > > > > --------------------------------------------------------------------------------------------------- > > > have_header: checking for fcgiapp.h... -------------------- no > > > have_header: checking for fastcgi/fcgiapp.h... -------------------- no > > > > > It looks like missing some header files and lib, Can someone pls tell > > > me where to look for those file. thanks > > > > > I''m using windows xp sp2 > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I''m having this same problem, except on linux... have_header: checking for fastcgi/fcgiapp.h... -------------------- no "gcc -E -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I. -O2 -g -Wall - fPIC conftest.c -o conf test.i" conftest.c:1:29: fastcgi/fcgiapp.h: No such file or directory checked program was: /* begin */ 1: #include <fastcgi/fcgiapp.h> /* end */ On Dec 11, 1:40 pm, "Brian Hogan" <bpho...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I''ve written about this extensively on this list as well as in this book:http://www.pragprog.com/titles/fr_deploy > > Bottom line: Ruby on Windows is *much* slower. I deploy lots of apps on it > though with success. The approach you want to look at is to use a > combination of Apache 2.2 with mod_proxy_balancer and several instances of > your app running via Mongrel. This is very similar to how it''s done on the > *nix side now. You can hide all this behind an existing IIS installation > using the ISAPI_REWRITE filter and a plugin I wrote called > reverse_proxy_fix. > > Setting this all up is a bit complicated at first, but it''s all covered in > the aforementioned book. Alternatively, set up a linux VM on top of Windows > and deploy your app to that. You''ll then be able to automate it using > Capistrano or other tools. > > If you need more info, contact me off list and I can try to help you. > > On Dec 11, 2007 10:59 AM, Nick <nexts...-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org> wrote: > > > > > what''s wrong with windows? :( > > I''m looking for a good way to deploy it on Windows, are you saying I > > need to avoid using fcgi? > > Then, could you point me to the right direction. > > > On Dec 11, 11:42 am, "Brian Hogan" <bpho...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > @Nick. > > > Abandon hope for doing this on Windows. It''s not possible. :) > > > > There are other ways to deploy on Windows. If you''re developing, you > > simply > > > don''t need to do anything other than using ruby script/server. > > Deployment > > > is different but there are better options than Fastcgi. > > > > On Dec 11, 2007 10:17 AM, Nick <nexts...-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org> wrote: > > > > > hi, all > > > > > I have encounter a problem to install ''fcgi'', this is the error output > > > ------------------------------------------------------------------------------------ > > > > ruby extconf.rb install fcgi > > > > ruby: No such file or directory -- extconf.rb (LoadError) > > > ------------------------------------------------------------------------------------ > > > > so I manually run extconf.rb but still not work: > > > --------------------------------------------------------------------------------------------------- > > > > have_header: checking for fcgiapp.h... -------------------- no > > > > have_header: checking for fastcgi/fcgiapp.h... -------------------- no > > > > > It looks like missing some header files and lib, Can someone pls tell > > > > me where to look for those file. thanks > > > > > I''m using windows xp sp2--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---