newrelic: fix newrelic starting without license key.
Fix an issue where the New Relic agent always started in the production environment, even when a license key wasn't configured. Also make the New Relic agent log to stdout instead of log/newrelic_agent.log.
This commit is contained in:
2
Gemfile
2
Gemfile
@@ -52,6 +52,7 @@ gem 'google-cloud-storage', require: "google/cloud/storage"
|
||||
gem 'ed25519'
|
||||
gem 'bcrypt_pbkdf' # https://github.com/net-ssh/net-ssh/issues/565
|
||||
gem 'terminal-table'
|
||||
gem 'newrelic_rpm', require: false
|
||||
|
||||
group :production, :staging do
|
||||
gem 'unicorn', :platforms => :ruby
|
||||
@@ -60,7 +61,6 @@ end
|
||||
|
||||
group :production do
|
||||
gem 'unicorn-worker-killer'
|
||||
gem 'newrelic_rpm'
|
||||
gem 'capistrano-deploytags', '~> 1.0.0', require: false
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user