Created
October 29, 2013 12:32
-
-
Save joaquimadraz/7213795 to your computer and use it in GitHub Desktop.
Remove rails warning
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Remove WARN Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true | |
Open ~/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/webrick/httpresponse.rb | |
goto line 205 and change it to: if chunked? || @header['content-length'] || @status == 304 || @status == 204 | |
Change the ruby version in the path to your version | |
bye bye warning |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment