diff options
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/fcgi_handler.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/railties/lib/fcgi_handler.rb b/railties/lib/fcgi_handler.rb index 1256ef2286..53f555d5e1 100644 --- a/railties/lib/fcgi_handler.rb +++ b/railties/lib/fcgi_handler.rb @@ -1,3 +1,4 @@ +FCGI_PURE_RUBY = true require 'fcgi' require 'logger' require 'dispatcher' @@ -98,6 +99,7 @@ class RailsFCGIHandler with_signal_handler 'USR1' do begin + cgi = FCGI::Request.new(cgi.id, cgi.env_table, cgi.stdinput, cgi.stdoutput) ::Rack::Handler::FastCGI.serve(cgi, Dispatcher.new) rescue SignalException, SystemExit raise |