For the documentation:
Installation
Copy this file into
plugins/newrelic/plugin.rb
Retrieve a copy of your newrelic.yml
file:
https://rpm.newrelic.com/accounts/[123456]/newrelic.yml
Where you need to replace 123456 with the application number you see in your NewRelic interface.
Save this to config/newrelic.yml`
(unless there’s some reason to keep it at the root of the install, as shown above)
Otherwise I’d change that 6th line to:
../config/newrelic.yml
Activation
The Newrelic gem will be installed the next time bundler is called.
cd /var/www/discourse (or or where you’ve installed discourse)
bundle install --without test --deployment
(is that correct?)