if Rails.env.production?
  ::NewRelic::Agent.manual_start()
  ::NewRelic::Agent.after_fork(force_reconnect: true)
end

if Rails.env.production?
  ::NewRelic::Agent.manual_start()
  ::NewRelic::Agent.after_fork(force_reconnect: true)

  GC::Profiler.enable
end

Enable GC Profiler for New Relic
Enable GC Profiler for New Relic
