lib/rambulance/railtie.rb in rambulance-1.0.1 vs lib/rambulance/railtie.rb in rambulance-1.0.2

- old
+ new

@@ -8,9 +8,10 @@ app.config.exceptions_app = ->(env) { begin ActiveSupport::Dependencies.load_missing_constant(Object, :ExceptionsApp) ::ExceptionsApp.call(env) rescue NameError + require "rambulance/exceptions_app" if !defined?(::Rambulance::ExceptionsApp) ::Rambulance::ExceptionsApp.call(env) end } ActiveSupport.on_load(:after_initialize) do