Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Fixed a NameError (uninitialized constant) problem #7

Merged
merged 1 commit into from about 1 year ago

2 participants

Shu Masuda Richard Huang
Shu Masuda

When I use this gem with Rails 3.2.13 and run rails console, this gem raises the following error.

  • ruby/2.0.0/gems/newrelic-grape-1.2.0/lib/newrelic-grape/instrument.rb:5:in `class:Grape': uninitialized constant NewRelic::Agent::Instrumentation::Grape::ControllerInstrumentation (NameError)
Fixed an NameError (uninitialized constant) problem
* NewRelic::Agent::Instrumentation::Grape::ControllerInstrumentation Error.
23d8c6e
Richard Huang flyerhzm merged commit 07338b3 into from April 01, 2013
Richard Huang flyerhzm closed this April 01, 2013
Richard Huang
Owner

thanks, I just released newrelic-grape 1.2.1, which includes your pull request.

Shu Masuda

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Apr 02, 2013
Fixed an NameError (uninitialized constant) problem
* NewRelic::Agent::Instrumentation::Grape::ControllerInstrumentation Error.
23d8c6e
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 2 additions and 0 deletions. Show diff stats Hide diff stats

  1. 2  lib/newrelic-grape/instrument.rb
2  lib/newrelic-grape/instrument.rb
... ...
@@ -1,3 +1,5 @@
  1
+require 'new_relic/agent/instrumentation/controller_instrumentation'
  2
+
1 3
 module NewRelic
2 4
   module Agent
3 5
     module Instrumentation
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.