rtacconi
2010-Jan-27  15:24 UTC
exception_notification error: custom_require.rb:31:in `gem_original_re quire'': no such file to load -- action_dispatch (MissingSourceFile)
I am trying to use exception_notification but I get this error:
$ script/server
=> Booting Mongrel
=> Rails 2.3.4 application starting on http://0.0.0.0:3000
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_re
quire'': no such file to load -- action_dispatch (MissingSourceFile)
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
31:in `re
quire''
        from c:/dev/apps/vendor/rails/activesupport/lib/active_support/
dependenc
ies.rb:156:in `require''
        from c:/dev/apps/vendor/rails/activesupport/lib/active_support/
dependenc
ies.rb:521:in `new_constants_in''
        from c:/dev/apps/vendor/rails/activesupport/lib/active_support/
dependenc
ies.rb:156:in `require''
        from c:/dev/apps/vendor/plugins/exception_notification/lib/
exception_not
ifier.rb:1
        from c:/dev/apps/vendor/rails/activesupport/lib/active_support/
dependenc
ies.rb:380:in `load_without_new_constant_marking''
        from c:/dev/apps/vendor/rails/activesupport/lib/active_support/
dependenc
ies.rb:380:in `load_file''
        from c:/dev/apps/vendor/rails/activesupport/lib/active_support/
dependenc
ies.rb:521:in `new_constants_in''
         ... 11 levels...
        from c:/dev/apps/vendor/rails/railties/lib/commands/server.rb:
84
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
31:in `ge
m_original_require''
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
31:in `re
quire''
        from script/server:3
I followed this tutorial and the tutorial on github:
https://wikihub.berkeley.edu/display/istas/Rails+Deployment+-+Exception+Notification+and+Monitoring
-- 
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.
Matt Jones
2010-Jan-28  22:35 UTC
Re: exception_notification error: custom_require.rb:31:in `gem_original_re quire'': no such file to load -- action_dispatch (MissingSourceFile)
That repo has been updated for Rails 3, so it''s going to fail badly on older versions. You''ll probably want to grab only up to this commit: http://github.com/rails/exception_notification/commit/e8b603e523c14f145da7b3a1729f5cc06eba2dd1 Or you may want to look into another exception notifier, like Hoptoad. --Matt Jones On Jan 27, 10:24 am, rtacconi <rtacc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I am trying to use exception_notification but I get this error: > > $ script/server > => Booting Mongrel > => Rails 2.3.4 application starting onhttp://0.0.0.0:3000 > c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `gem_original_re > quire'': no such file to load -- action_dispatch (MissingSourceFile) > from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: > 31:in `re > quire'' > from c:/dev/apps/vendor/rails/activesupport/lib/active_support/ > dependenc > ies.rb:156:in `require'' > from c:/dev/apps/vendor/rails/activesupport/lib/active_support/ > dependenc > ies.rb:521:in `new_constants_in'' > from c:/dev/apps/vendor/rails/activesupport/lib/active_support/ > dependenc > ies.rb:156:in `require'' > from c:/dev/apps/vendor/plugins/exception_notification/lib/ > exception_not > ifier.rb:1 > from c:/dev/apps/vendor/rails/activesupport/lib/active_support/ > dependenc > ies.rb:380:in `load_without_new_constant_marking'' > from c:/dev/apps/vendor/rails/activesupport/lib/active_support/ > dependenc > ies.rb:380:in `load_file'' > from c:/dev/apps/vendor/rails/activesupport/lib/active_support/ > dependenc > ies.rb:521:in `new_constants_in'' > ... 11 levels... > from c:/dev/apps/vendor/rails/railties/lib/commands/server.rb: > 84 > from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: > 31:in `ge > m_original_require'' > from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: > 31:in `re > quire'' > from script/server:3 > > I followed this tutorial and the tutorial on github:https://wikihub.berkeley.edu/display/istas/Rails+Deployment+-+Excepti...-- 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.