Created
May 17, 2014 19:08
-
-
Save kyanny/ea06c6eb76500c3ed15a to your computer and use it in GitHub Desktop.
newrelic_rpm 3.8.1.221 and newrelic-grape crash minimum replicate code: uninitialized constant NewRelic::MetricSpec (NameError)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'grape' | |
require 'newrelic-grape' | |
require 'newrelic_rpm' | |
require 'new_relic/rack/developer_mode' | |
use NewRelic::Rack::DeveloperMode | |
NewRelic::Agent.manual_start | |
run ->(env) { [200, { 'Content-Type' => 'text/plain' }, ['ok']] } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source "https://rubygems.org" | |
gem 'grape' | |
gem 'newrelic_rpm', '3.8.1.221' | |
gem 'newrelic-grape' |
Author
kyanny
commented
May 17, 2014
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment