From: Brian Candler Date: 2010-03-30T23:51:42+09:00 Subject: Re: Install fcgi 0.8.8 on Ruby-1.8 Javier Abaroa wrote: > The questions is, that i don't know how to make what you're saying. Sorry if I wasn't being clear. I simply meant copy fcgi.rb to your ruby lib directory, or into your own application's lib directory. > Please watch my operating system is Windoes-Xp, and when y tried to > directly execute fcgi.rb in ruby , always i get the next error: > > C:/Ruby/lib/ruby/site_ruby/1.8/fcgi.rb:11:in `trap': unsupported signal > SIGPIPE (ArgumentError) > from C:/Ruby/lib/ruby/site_ruby/1.8/fcgi.rb:11 > from OK, then that's a POSIX signal which doesn't exist in Windows. You'll need to trim references to this out of the code. However it does suggest that fcgi.rb hasn't been tested much (if at all) under Windows. Maybe a cygwin build of ruby would be closer to what it expects. Otherwise, I suggest you do what most people do nowadays, and run your web service as a standalone process (using mongrel, thin, unicorn etc) and proxy to it from your apache instance using mod_proxy. With a suitable config you can get static assets served directly from apache. -- Posted via http://www.ruby-forum.com/.