2014-09-02 18:07:02 +05:30
|
|
|
# Load the rails application
|
2018-05-09 12:01:36 +05:30
|
|
|
|
|
|
|
# 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
|
2014-09-02 18:07:02 +05:30
|
|
|
|
|
|
|
# Initialize the rails application
|
2015-12-23 02:04:40 +05:30
|
|
|
Rails.application.initialize!
|