exception_notification gem raises ActionView::Template::Error (code converter not found (UTF-8 to UTF-16)) only on Heroku production mode

后端 未结 3 2192
灰色年华
灰色年华 2021-02-18 19:10

I create rails app deployed on Heroku. also, exception_notification gem enabled.

when it is on development setup ActionMailer to Gmail, everything is fine a

3条回答
  •  一整个雨季
    2021-02-18 19:44

    The issue was raised on the main repository (see here), but so far was not addressed.

    You might want to take a look at this fork to the exception_notification gem, specifically this commit which tries to deal with the problem: https://github.com/alanjds/exception_notification/commit/048fc6be972189e62ca3b9453d19233ec5773016

    To use this fork I pointed the gem to it, like so:

    Gemfile:

    gem 'exception_notification', git: 'git://github.com/alanjds/exception_notification.git'
    

    This solved the issue for me.

提交回复
热议问题