Skip to content

Instantly share code, notes, and snippets.

@donpdonp
Created August 22, 2011 18:45
Show Gist options
  • Save donpdonp/1163153 to your computer and use it in GitHub Desktop.
Save donpdonp/1163153 to your computer and use it in GitHub Desktop.
rack-mongrel2 err
donp hack req.headers {"PATH"=>"/blog", "x-forwarded-for"=>"::ffff:173.8.218.204", "cache-control"=>"max-age=0", "accept-language"=>"en-us,en;q=0.5", "connection"=>"keep-alive", "accept-encoding"=>"gzip, deflate", "accept-charset"=>"ISO-8859-1,utf-8;q=0.7,*;q=0.7", "accept"=>"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", "user-agent"=>"Mozilla/5.0 (X11; Linux i686; rv:6.0) Gecko/20100101 Firefox/6.0", "host"=>"donpark.org", "if-none-match"=>"\"002d599e5771c81b106c9207b5f33e91\"", "cookie"=>"__utma=100555531.1658899755.1308246960.1314033338.1314036638.94; __utmz=100555531.1314036638.94.78.utmcsr=epdx.org|utmccn=(referral)|utmcmd=referral|utmcct=/people/31; owa_v=cdh%3D%3E3ab5a930%7C%7C%7Cvid%3D%3E-200883154%7C%7C%7Cfsts%3D%3E1308330152%7C%7C%7Cnps%3D%3E22; owa_s=cdh%3D%3E3ab5a930%7C%7C%7Clast_req%3D%3E1314038685%7C%7C%7Csid%3D%3E-1311537598; typo_user_profile=admin; __utmc=100555531; __utmb=100555531.8.10.1314036638; _typo_blog_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlN2YyOWFlNGZlNmM5MTBlYzc3NTY1NDZjMWIyOThjNGVJIhBfY3NyZl90b2tlbgY7AEZJIjF4VnlXUDVaL1BwOTZFeWR3Sm1XbkVoMDVEN0RRZ2h0TEhTMmNQZXZZTWVrPQY7AEY%3D--de13723b361934277f1a180d2a7e88655f2f7d88", "METHOD"=>"GET", "VERSION"=>"HTTP/1.1", "URI"=>"/blog"}
Exiting
/usr/local/ruby/1.9.2-p290/lib/ruby/gems/1.9.1/gems/rack-mongrel2-0.2.3/lib/rack/handler/mongrel2.rb:35:in `run': You have a nil object when you didn't expect it! (NoMethodError)
You might have expected an instance of Array.
The error occurred while evaluating nil.split
from /usr/local/ruby/1.9.2-p290/lib/ruby/gems/1.9.1/gems/rack-1.2.1/lib/rack/server.rb:213:in `start'
from /usr/local/ruby/1.9.2-p290/lib/ruby/gems/1.9.1/gems/railties-3.0.0/lib/rails/commands/server.rb:65:in `start'
from /usr/local/ruby/1.9.2-p290/lib/ruby/gems/1.9.1/gems/railties-3.0.0/lib/rails/commands.rb:30:in `block in <top (required)>'
from /usr/local/ruby/1.9.2-p290/lib/ruby/gems/1.9.1/gems/railties-3.0.0/lib/rails/commands.rb:27:in `tap'
from /usr/local/ruby/1.9.2-p290/lib/ruby/gems/1.9.1/gems/railties-3.0.0/lib/rails/commands.rb:27:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
^C
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment