summaryrefslogtreecommitdiff
path: root/config/environment.rb
blob: 3a52656a2c1c48d44af156ac9ceb82513b6a02ab (plain)
1
2
3
4
5
6
7
8
9
10
11
# Load the rails application

# Remove this condition when upgraded to rails 5.0.
if %w[0 false].include?(ENV["RAILS5"])
  require File.expand_path('application', __dir__)
else
  require_relative 'application'
end

# Initialize the rails application
Rails.application.initialize!