lib/honeybadger/init/rails.rb in honeybadger-2.0.0.beta.7 vs lib/honeybadger/init/rails.rb in honeybadger-2.0.0.beta.8
- old
+ new
@@ -3,9 +3,13 @@
module Honeybadger
module Init
module Rails
class Railtie < ::Rails::Railtie
+ rake_tasks do
+ load 'honeybadger/tasks.rb'
+ end
+
initializer 'honeybadger.install' do
config = Config.new(local_config)
if Honeybadger.start(config)
::Rails.application.config.middleware.tap do |middleware|
middleware.insert(0, 'Honeybadger::Rack::ErrorNotifier', config)