Welcome to mirror list, hosted at ThFree Co, Russian Federation.

environment.rb « config - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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!