I am using the the exception notification plugin for rails version 2.3
This is what I have in my environment.rb file
ExceptionNotification::Notifier.exception_recipients =
%w([email protected])
In my app controller…
include ExceptionNotification::Notifiable
After installation when I start the server I get the following error
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
active_support/dependencies.rb:443:in load_missing_constant' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/ active_support/dependencies.rb:80:in
const_missing’
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
active_support/dependencies.rb:92:in const_missing' /home/myusername/Apps/myapp/config/environment.rb:115 /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/ initializer.rb:111:in
run’
/home/myusername/Apps/myapp/config/environment.rb:10
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
31:in gem_original_require' /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 31:in
require’
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
active_support/dependencies.rb:156:in require' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/ active_support/dependencies.rb:521:in
new_constants_in’
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
active_support/dependencies.rb:156:in require' /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/commands/ server.rb:84 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 31:in
gem_original_require’
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
31:in require' ./script/server:3 /usr/local/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9/lib/ ruby-debug-ide.rb:109:in
debug_load’
/usr/local/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9/lib/
ruby-debug-ide.rb:109:in debug_program' /usr/local/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9/bin/ rdebug-ide:87 /usr/local/bin/rdebug-ide:19:in
load’
/usr/local/bin/rdebug-ide:19
Uncaught exception: uninitialized constant ExceptionNotification
When I launch the irb console it says…
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
active_support/dependencies.rb:443:in
load_missing_constant':NameError: uninitialized constant ExceptionNotification /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/ active_support/dependencies.rb:443:in
load_missing_constant’:NameError: uninitialized constant
ApplicationController