2011-10-08 21:36:38 +00:00
|
|
|
# Load the rails application
|
2018-03-21 22:37:57 +00:00
|
|
|
|
|
|
|
# Remove this condition when upgraded to rails 5.0.
|
|
|
|
if %w[1 true].include?(ENV["RAILS5"])
|
|
|
|
require_relative 'application'
|
|
|
|
else
|
|
|
|
require File.expand_path('../application', __FILE__)
|
|
|
|
end
|
2011-10-08 21:36:38 +00:00
|
|
|
|
|
|
|
# Initialize the rails application
|
2015-11-25 16:18:44 +00:00
|
|
|
Rails.application.initialize!
|