Sha256: d00cedb9bc2c084839e5fbe6b54cce6290b5cc71d7480e7d68071ca6942beb50

Contents?: true

Size: 852 Bytes

Versions: 1

Compression:

Stored size: 852 Bytes

Contents

require "action_mailer"

require File.join(File.dirname(__FILE__), '..', 'lib', "super_exception_notifier", "custom_exception_classes")
require File.join(File.dirname(__FILE__), '..', 'lib', "super_exception_notifier", "custom_exception_methods")

$:.unshift "#{File.dirname(__FILE__)}/lib"

require "hooks_notifier"
require "exception_notifier"
require "exception_notifiable"
require "exception_notifier_helper"
require "notifiable"

Object.class_eval do include Notifiable end

#It appears that the view path is auto-added by rails... hmmm.
#if ActionController::Base.respond_to?(:append_view_path)
#  puts "view path before: #{ActionController::Base.view_paths}"
#  ActionController::Base.append_view_path(File.join(File.dirname(__FILE__), 'app', 'views','exception_notifiable'))
#  puts "view path After: #{ActionController::Base.view_paths}"
#end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pboling-super_exception_notifier-1.6.6 rails/init.rb