diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-08-13 21:09:11 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-08-13 21:09:11 +0300 |
commit | c575d3cfde0cba06c37d5a5dae0ca7288f68f1e3 (patch) | |
tree | ed72277b57bd8097974f6e95c4e5206a82536607 /config/settings.rb | |
parent | 7134e029c59d015ccd10aa3bdad1299862947e19 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'config/settings.rb')
-rw-r--r-- | config/settings.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/config/settings.rb b/config/settings.rb index 768ad9d284f..1860ea0f659 100644 --- a/config/settings.rb +++ b/config/settings.rb @@ -3,12 +3,6 @@ require 'settingslogic' require 'digest/md5' -# We can not use `Rails.root` here, as this file might be loaded without the -# full Rails environment being loaded. We can not use `require_relative` either, -# as Rails uses `load` for `require_dependency` (used when loading the Rails -# environment). This could then lead to this file being loaded twice. -require_dependency File.expand_path('../lib/gitlab', __dir__) - class Settings < Settingslogic source ENV.fetch('GITLAB_CONFIG') { Pathname.new(File.expand_path('..', __dir__)).join('config/gitlab.yml') } namespace ENV.fetch('GITLAB_ENV') { Rails.env } |