lib/dispatch-rider/integrations/appsignal.rb in dispatch-rider-1.2.2 vs lib/dispatch-rider/integrations/appsignal.rb in dispatch-rider-1.2.3
- old
+ new
@@ -31,13 +31,12 @@
end
end
end
- app_settings = ::Sinatra::Application.settings
Appsignal.config = Appsignal::Config.new(
- app_settings.root,
- app_settings.environment
+ Rails.root,
+ ENV.to_hash
)
Appsignal.start_logger(app_settings.root)
if Appsignal.active?