Commit d2d234cdf2b78c5a269e0fd4832ea93dce8d35cb

Authored by Rodrigo Souto
1 parent 96bb3be5

Load newrelic agent if config file specified

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
config/initializers/newrelic.rb 0 → 100644
... ... @@ -0,0 +1,2 @@
  1 +# Load newrelic agent if its config file is defined.
  2 +require 'newrelic_rpm' if File.exist?(File.dirname(__FILE__) + '/../newrelic.yml')
... ...