lib/one_apm/frameworks/ruby.rb in oneapm_rpm-1.1.1 vs lib/one_apm/frameworks/ruby.rb in oneapm_rpm-1.1.2

- old
+ new

@@ -3,10 +3,10 @@ module OneApm class Probe module Frameworks class Ruby < OneApm::Probe def env - @env ||= ENV['ONE_APM_ENV'] || ENV['RUBY_ENV'] || + @env ||= ENV['ONEAPM_ENV'] || ENV['RUBY_ENV'] || ENV['RAILS_ENV'] || ENV['RACK_ENV'] || 'development' end def root @root ||= ENV['APP_ROOT'] || '.'