Forum: Ruby on Rails NameError when running exception_notification plugin?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Sean H. (Guest)
on 2006-05-06 00:26
(Received via mailing list)
Hi all,

I installed the exception_notification plugin via 'script/plugin
install', and when configure it and try to run it, I get:

NameError

uninitialized constant ExceptionNotifiable

This error occured while loading the following files:
   application.rb
   exception_notifiable.rb

In my application.rb, I added this:

  include ExceptionNotifiable

And in my development environment file, I added:

  ExceptionNotifier.exception_recipients = 
%w(removed_email_address@domain.invalid)

What am I missing?

Thanks!

Sean
Sean H. (Guest)
on 2006-05-06 00:39
(Received via mailing list)
I had to restart the app after installing the plugin, huh?

Yeah, ok.  Sorry, fixed.  :)

Sean
This topic is locked and can not be replied to.