Fix newrelic
I updated newrelic to beta version, which fixed problems with starting the dispatcher in some of the environments.
This commit is contained in:
parent
426859a7a1
commit
a830d17554
|
@ -90,7 +90,7 @@ PATH
|
|||
travis-api (0.0.1)
|
||||
backports (~> 2.5)
|
||||
hubble (~> 0.1)
|
||||
newrelic_rpm (~> 3.6.0.83)
|
||||
newrelic_rpm (~> 3.6.1.85.beta)
|
||||
pg (~> 0.13.2)
|
||||
rack-contrib (~> 1.1)
|
||||
rack-ssl (~> 1.3, >= 1.3.3)
|
||||
|
@ -184,7 +184,7 @@ GEM
|
|||
multipart-post (1.2.0)
|
||||
net-http-persistent (2.8)
|
||||
net-http-pipeline (1.0.1)
|
||||
newrelic_rpm (3.6.0.83)
|
||||
newrelic_rpm (3.6.1.85.beta)
|
||||
pg (0.13.2)
|
||||
polyglot (0.3.3)
|
||||
pry (0.9.12)
|
||||
|
|
|
@ -4,7 +4,6 @@ ENV['RAILS_ENV'] = ENV['RACK_ENV']
|
|||
|
||||
$stdout.sync = true
|
||||
|
||||
require 'newrelic_rpm'
|
||||
require 'travis/api/app'
|
||||
require 'core_ext/module/load_constants'
|
||||
|
||||
|
|
|
@ -7,6 +7,10 @@ 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
|
||||
|
|
|
@ -182,7 +182,7 @@ Gem::Specification.new do |s|
|
|||
s.add_dependency 'hubble', '~> 0.1'
|
||||
s.add_dependency 'backports', '~> 2.5'
|
||||
s.add_dependency 'pg', '~> 0.13.2'
|
||||
s.add_dependency 'newrelic_rpm', '~> 3.6.0.83'
|
||||
s.add_dependency 'newrelic_rpm', '~> 3.6.1.85.beta'
|
||||
s.add_dependency 'thin', '~> 1.4'
|
||||
s.add_dependency 'sinatra', '~> 1.3'
|
||||
s.add_dependency 'sinatra-contrib', '~> 1.3'
|
||||
|
|
Loading…
Reference in New Issue
Block a user