This caused problems because it effectively started the APM agent twice, causing the configuration to be ignored and duplicate events to be sent.
Initializers
This directory contains initializers run by Rails during bootup. Initializers are generally used to configure libraries or other global settings during application boot.