How do I fix 'Unprocessed view path found' error with ExceptionNotifier plugin in rails 2.1? How do I fix 'Unprocessed view path found' error with ExceptionNotifier plugin in rails 2.1? ruby ruby

How do I fix 'Unprocessed view path found' error with ExceptionNotifier plugin in rails 2.1?


This was caused by a change in rails 2.1 which prevents rails from loading views from any arbitrary path for security reasons.

There is now an updated version of the plugin on github, so the solution is to use that.


The old solution here for posterity

To work around it, edit init.rb under your vendor/plugins/exception_notification directory, and add the following code to the end

ActionController::Base.class_eval do  append_view_path File.dirname(__FILE__) + '/lib/../views'end

This adds the ExceptionNotifier plugins' views folder to the list, so it is allowed to load them.


You ought to upgrade to the newest Exception Notification plugin which is in its new home at GitHub.