Rails Server: Could not determine content-length of response body
Em aplicações 1.9.3, para remover o aviso do console
WARN Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true
Podemos instalar a gem thin no ambiente
gem 'thin'
ou via gemfile
gem install thin
E subir o server com o Thin ao invés do WebRick
rails s thin
Written by Débora Fernandes
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Rails
Authors
Related Tags
#rails
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#