Output_safety.rb: 34 warning: regexp matches /.../n against the UTF-8 string

When starting my WEBrick server, I get the following warning when I call the home page:

c:/Program Files/jruby-1.6.7/lib/ruby/gems/1.8/gems/activesupport- 3.2.2.rc1/lib/active_support/core_ext/string/output_safety.rb:34 warning: regexp match /.../n against to UTF-8 string 

Can someone tell me why I get this warning?

+

I run JRuby in 1.9 mode, but here I get an error message from gem in folder 1.8. Why is this? Should I use gems from folder 1.9?

+8
ruby-on-rails jruby
source share
1 answer

this question is discussed here github.com/rails/rails/issues/3927

+4
source share

All Articles