Exception Notification Gem and Rails 3

后端 未结 17 2070
野趣味
野趣味 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 05:49

    Actually, now, it is much easier. In your Gemfile you need to write:

    gem "exception_notification", :git => "http://github.com/rails/exception_notification.git", :require => 'exception_notifier'
    

    And all should be fixed. The :require option is crucial (i guess because the names differ you have to specify explicitly). All other patches mentioned before have been merged i presume.

提交回复
热议问题