Exception Notification Gem and Rails 3

后端 未结 17 2081
野趣味
野趣味 2021-01-30 05:16

I\'m trying to get this up and running, but I see \"uninitialized constant ExceptionNotifier\" whenever I start my server.

http://github.com/rails/exception_notificatio

17条回答
  •  庸人自扰
    2021-01-30 06:04

    It seems that Rails 3 can't use this plugin in gem form. Maybe rack apps can't be loaded from gems? I installed it as a plugin instead and changed the config syntax to:

    config.middleware.use "::ExceptionNotifier"

    instead of

    config.middleware.use ExceptionNotifier

提交回复
热议问题