if Rails.env.production?
  require "opbeat"
  # set up an Opbeat configuration
  Opbeat.configure do |config|
    config.organization_id = ENV["OPBEAT_ORG_ID"]
    config.app_id = ENV["OPBEAT_APP_ID"]
    config.secret_token = ENV["OPBEAT_SECRET"]
  end
end

Revert old configuration way, load only on production
Revert old configuration way, load only on production
