lib/new_relic/agent/autostart.rb in newrelic_rpm-3.6.1.85.beta vs lib/new_relic/agent/autostart.rb in newrelic_rpm-3.6.1.86.beta

- old
+ new

@@ -42,10 +42,10 @@ end end def in_blacklisted_rake_task? tasks = begin - Rake.application.top_level_tasks + ::Rake.application.top_level_tasks rescue => e ::NewRelic::Agent.logger.debug("Not in Rake environment so skipping blacklisted_rake_tasks check: #{e}") [] end !(tasks & ::NewRelic::Agent.config['autostart.blacklisted_rake_tasks'].split(/\s*,\s*/)).empty?