Package: mongrel Version: 1.1.5-5 After rails package upgraded from 2.2.3-2 to 2.3.5-1 rails app breaks when run in mongrel_cluster with a log record like this:
Wed Jun 16 18:24:51 +0400 2010: Error calling Dispatcher.dispatch #<NoMethodError: undefined method `[]' for nil:NilClass> /usr/lib/ruby/1.8/mongrel/cgi.rb:108:in `send_cookies' /usr/lib/ruby/1.8/mongrel/cgi.rb:136:in `out' /usr/lib/ruby/1.8/mongrel/http_response.rb:65:in `start' /usr/lib/ruby/1.8/mongrel/cgi.rb:135:in `out' /usr/lib/ruby/1.8/mongrel/rails.rb:81:in `process' /usr/lib/ruby/1.8/mongrel.rb:159:in `process_client' /usr/lib/ruby/1.8/mongrel.rb:158:in `each' /usr/lib/ruby/1.8/mongrel.rb:158:in `process_client' /usr/lib/ruby/1.8/mongrel.rb:285:in `run' /usr/lib/ruby/1.8/mongrel.rb:285:in `initialize' /usr/lib/ruby/1.8/mongrel.rb:285:in `new' /usr/lib/ruby/1.8/mongrel.rb:285:in `run' /usr/lib/ruby/1.8/mongrel.rb:268:in `initialize' /usr/lib/ruby/1.8/mongrel.rb:268:in `new' /usr/lib/ruby/1.8/mongrel.rb:268:in `run' /usr/lib/ruby/1.8/mongrel/configurator.rb:282:in `run' /usr/lib/ruby/1.8/mongrel/configurator.rb:281:in `each' /usr/lib/ruby/1.8/mongrel/configurator.rb:281:in `run' /usr/bin/mongrel_rails:129:in `run' /usr/lib/ruby/1.8/mongrel/command.rb:212:in `run' /usr/bin/mongrel_rails:282 A quick search shows that the problem is discussed at https://rails.lighthouseapp.com/projects/8994/tickets/4690-mongrel-doesnt-work-with-rails-238 Patch rails238_mongrel115_patch.diff from the ticket above applied to /usr/lib/ruby/1.8/mongrel/cgi.rb fixed the problem for me. Thanks! ...Be happy, take it easy, sayonara. ---abme at rambler dot ru -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

