rails 3.0.19 and exception notification 3.0.0 do not play well together

18 views
Skip to first unread message

jsnark

unread,
Jan 30, 2013, 1:57:47 PM1/30/13
to rubyonra...@googlegroups.com
Ever since I upgraded my applications to rails 3.0.19 due to the security issue with older versions, exception notification has stopped working.  What is the fix for this problem?  Thank you.

Rendered /var/www/rails/xxx/shared/bundle/ruby/1.9.1/gems/exception_notification-3.0.0/lib/exception_notifier/views/exception_notifier/exception_notification.text.erb (95.5ms)

ActionView::Template::Error (code converter not found (UTF-8 to UTF-16)):
    19:         [title, summary.gsub(/^/, "  "), nil].join("\n\n")
    20:       end
    21:     end.join
    22:     sections = sections.force_encoding('UTF-8').encode('UTF-16', :invalid => :replace).encode('UTF-8') if sections.respond_to?(:force_encoding)
    23: %>
    24:
    25: <%= raw sections %>

Colin Law

unread,
Jan 30, 2013, 4:06:08 PM1/30/13
to rubyonra...@googlegroups.com

jsnark

unread,
Jan 31, 2013, 8:56:36 AM1/31/13
to rubyonra...@googlegroups.com, cla...@googlemail.com
Thanks, but no, it is for the wrong version of rails.  This post has the solution to my problem:

http://stackoverflow.com/questions/13042201/exception-notification-gem-raises-actionviewtemplateerror-code-converter-no
Reply all
Reply to author
Forward
0 new messages