Sha256: 6c902a13d57fc40fc790fff73739c1b12889de4e46c250bb671f540c77492c72
Contents?: true
Size: 634 Bytes
Versions: 38
Compression:
Stored size: 634 Bytes
Contents
# encoding: utf-8 # This file is distributed under New Relic's license terms. # See https://github.com/newrelic/rpm/blob/master/LICENSE for complete details. module NewRelic class Control module Frameworks # A control used when no framework is detected - the default. class Ruby < NewRelic::Control def env @env ||= ENV['NEW_RELIC_ENV'] || ENV['RUBY_ENV'] || ENV['RAILS_ENV'] || ENV['RACK_ENV'] || 'development' end def root @root ||= ENV['APP_ROOT'] || '.' end def init_config(options={}) end end end end end
Version data entries
38 entries across 38 versions & 2 rubygems