This project is archived and is in readonly mode.
Complete move to Rack
Reported by DHH | November 22nd, 2008 @ 05:32 PM
Finish the Rack adapters for Rails including dealing with the issue of Rails' own FCGI adapter being more battle tested than the one in Rack.
Comments and changes to this ticket
-
josh November 22nd, 2008 @ 08:50 PM
- State changed from new to open
Just switched script/server over to Rack. I just need to do the same for the FCGI adapter.
-
josh December 1st, 2008 @ 06:32 PM
- State changed from open to resolved
-
Jan De Poorter December 5th, 2008 @ 10:25 AM
The change in http://github.com/rails/rails/co... breaks my request dispatching.
[05/Dec/2008:11:02:20 :: 26836] Dispatcher failed to catch: undefined method
env' for #<FCGI::CGI:0xb6dfb0f4> (NoMethodError) /usr/lib/ruby/gems/1.8/gems/rack-0.4.0/lib/rack/handler/fastcgi.rb:32:in
serve' /home/sock/apps/sock/releases/20081205100135/vendor/rails/railties/lib/fcgi_handler.rb:101:inprocess_request' /home/sock/apps/sock/releases/20081205100135/vendor/rails/railties/lib/fcgi_handler.rb:151:in
with_signal_handler' /home/sock/apps/sock/releases/20081205100135/vendor/rails/railties/lib/fcgi_handler.rb:99:inprocess_request' /home/sock/apps/sock/releases/20081205100135/vendor/rails/railties/lib/fcgi_handler.rb:76:in
process_each_request' /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:612:ineach_cgi' /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:609:in
each' /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:609:ineach_cgi' /home/sock/apps/sock/releases/20081205100135/vendor/rails/railties/lib/fcgi_handler.rb:75:in
process_each_request' /home/sock/apps/sock/releases/20081205100135/vendor/rails/railties/lib/fcgi_handler.rb:74:incatch' /home/sock/apps/sock/releases/20081205100135/vendor/rails/railties/lib/fcgi_handler.rb:74:in
process_each_request' /home/sock/apps/sock/releases/20081205100135/vendor/rails/railties/lib/fcgi_handler.rb:49:inprocess!' /home/sock/apps/sock/releases/20081205100135/vendor/rails/railties/lib/fcgi_handler.rb:23:in
process!' /home/sock/apps/sock/current/public/dispatch.fcgi:24 unhandled dispatch error -
Jan De Poorter December 5th, 2008 @ 11:44 AM
It seems that the Rack::FastCGI adapter expects a FCGI object, while the fcgi_handler gives it a FCGI::CGI object
-
josh December 5th, 2008 @ 03:37 PM
@Jan De Poorter Thanks for the alert. This seems critical. Can you please start a new ticket for the probem. I'd like to know more details about what server you are running to feed FCGI, etc.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>