xinminlabs / newrelic-rake

NewRelic instrument for rake task
MIT License
29 stars 11 forks source link

Require #method_tracer to make sure it's loaded before we start doing anything #4

Closed spectator closed 11 years ago

spectator commented 11 years ago

One more thing I missed.

In fact, when you install the gem and start running rake tasks, newrelic won't receive any data unless new_relic/agent/method_tracer is loaded, so this pull request explicitly loads it which is a good practice anyway.