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:
evazion
2021-05-24 21:48:15 -05:00
parent 896ddab55d
commit 4439293bf1
6 changed files with 21 additions and 57 deletions

View File

@@ -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