Displaying 1 result from an estimated 1 matches for "how_to_kill_a_unicorn".
2012 Feb 17
2
Bug in unicorn_rails when Encoding.default_internal is set
...uests to that
worker would get the same blank 500 page even for plain ascii urls.
I''ve been able to recreate this behavior one a fresh rails project by
setting Encoding.default_internal to utf-8 and very little else. I''ve
created an example repo at:
https://github.com/lparry/how_to_kill_a_unicorn
All you need to do is hit http://localhost:8080/users/? and the
unicorn worker will die with an error:
"Error during failsafe response: "\xE2" from ASCII-8BIT to UTF-8"
"app error: "You have a nil object when you didn''t expect it!\nYou
might have expected an...