From f4cb2caed0a4121ef2eaad4fae2d7e81fd48ee46 Mon Sep 17 00:00:00 2001 From: Piotr Sarnacki Date: Tue, 16 Apr 2013 20:24:18 +0200 Subject: [PATCH] Try to always require newrelic_rpm --- lib/travis/api/app/base.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/travis/api/app/base.rb b/lib/travis/api/app/base.rb index 92031836..3bf0caa4 100644 --- a/lib/travis/api/app/base.rb +++ b/lib/travis/api/app/base.rb @@ -1,6 +1,7 @@ require 'travis/api/app' require 'sinatra/base' require 'new_relic/agent/instrumentation/rack' +require 'newrelic_rpm' class Travis::Api::App # Superclass for any endpoint and middleware. @@ -8,10 +9,6 @@ class Travis::Api::App class Base < Sinatra::Base register Extensions::SmartConstants - configure :production do - require 'newrelic_rpm' - end - error NotImplementedError do content_type :txt status 501