How do I get rid of
WARN Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true
This one seems to be an issue with WEBrick and Ruby 1.9.3.
I got rid of it by converting to using Thin instead of WEBrick. Seems like a snappier webserver anyway.
BTW: Since I am on Windows installing Thin may be difficult, due to its dependency on eventmachine. However, I followed this tip on a stackoverflow answer, which worked for me (I used version 1.0.0.rc.4). Future releases of eventmachine may have fixed this problem though.
Edit this page