Skip to content

Instantly share code, notes, and snippets.

@hiroshi
Created July 26, 2019 07:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hiroshi/ed3143ef8a35d9398121708b33026a8d to your computer and use it in GitHub Desktop.
Save hiroshi/ed3143ef8a35d9398121708b33026a8d to your computer and use it in GitHub Desktop.
Error on using https://github.com/lulalala/utf8-cleaner for a rails app
[2019-07-26 07:36:03 +0000] [16] [application:test] exception: undefined method `new' for "UTF8Cleaner::Middleware":String
Did you mean? next
/bundle/ruby/2.4.0/gems/spring-2.0.2/lib/spring/application.rb:301:in `write': Input/output error (Errno::EIO)
from /bundle/ruby/2.4.0/gems/spring-2.0.2/lib/spring/application.rb:301:in `puts'
from /bundle/ruby/2.4.0/gems/spring-2.0.2/lib/spring/application.rb:301:in `print_exception'
from /bundle/ruby/2.4.0/gems/spring-2.0.2/lib/spring/application.rb:215:in `rescue in serve'
from /bundle/ruby/2.4.0/gems/spring-2.0.2/lib/spring/application.rb:226:in `serve'
from /bundle/ruby/2.4.0/gems/spring-2.0.2/lib/spring/application.rb:141:in `block in run'
from /bundle/ruby/2.4.0/gems/spring-2.0.2/lib/spring/application.rb:135:in `loop'
from /bundle/ruby/2.4.0/gems/spring-2.0.2/lib/spring/application.rb:135:in `run'
from /bundle/ruby/2.4.0/gems/spring-2.0.2/lib/spring/application/boot.rb:19:in `<top (required)>'
from /usr/local/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from /usr/local/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from -e:1:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment