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(myteam-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org)
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
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
Anyone? On Sep 24, 4:19 pm, badnaam <asitkmis...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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(myt...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org) > > 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-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 25 Sep 2010, at 21:04, badnaam wrote:> Anyone? > > On Sep 24, 4:19 pm, badnaam <asitkmis...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> 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(myt...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org) >> >> 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''It says exception notifier isn''t loaded. You will have to work from there to find out why: - If it''s a gem, you might not have included it in your config.gem section - If it''s a plugin, you might not have installed it into the vendor/ plugins directory - … Best regards Peter De Berdt -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
I have tried both. Made sure the plugin is installed and the gem exception_notification (2.3.3.0) is installed and it''s in my enviornment.rb file as configm.gem "exception_notification" I followed to documentation to the T. It''s on rails 2.3.5. On Sep 26, 12:59 am, Peter De Berdt <peter.de.be...-LPO8gxj9N8aZIoH1IeqzKA@public.gmane.org> wrote:> On 25 Sep 2010, at 21:04, badnaam wrote: > > > > > Anyone? > > > On Sep 24, 4:19 pm, badnaam <asitkmis...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> 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(myt...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org) > > >> 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'' > > It says exception notifier isn''t loaded. You will have to work from > there to find out why: > - If it''s a gem, you might not have included it in your config.gem > section > - If it''s a plugin, you might not have installed it into the vendor/ > plugins directory > - … > > Best regards > > Peter De Berdt-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.