environment.rb 379 Bytes
# frozen_string_literal: true

# Load the Rails application.
require_relative 'application'

# Load the app's custom environment variables here, so that they are loaded before environments/*.rb
mysql_account = File.join(Rails.root, 'config', 'mysql_account.rb')
load(mysql_account) if File.exist?(mysql_account)

# Initialize the Rails application.
Rails.application.initialize!