diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-18 15:09:45 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-18 15:09:45 +0000 |
commit | aaf59610548d9b0fd01acfd50e831cbe519ecba2 (patch) | |
tree | b6505abedcd965ebae5118b504b185b63129dc4c /config/settings.rb | |
parent | 1363ca12f1f07c634647cf55c4c16b7401098673 (diff) | |
download | gitlab-ce-aaf59610548d9b0fd01acfd50e831cbe519ecba2.tar.gz |
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 144a068ef2a..a9e91ce22d7 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 } |