lib/minato/stackdriver/railtie.rb in minato-stackdriver-0.1.0.pre.3 vs lib/minato/stackdriver/railtie.rb in minato-stackdriver-0.1.0.pre.4

- old
+ new

@@ -1,11 +1,12 @@ # frozen_string_literal: true module Minato module Stackdriver class Railtie < ::Rails::Railtie - config.before_configuration do |app| - Minato::Stackdriver.init(app) + initializer "minato_stackdriver_setup", + before: "load_environment_config" do + Minato::Stackdriver.init end end end end