debian-mirror-gitlab/debian/patches/0660-fix-gitlab-yml-path.patch

12 lines
443 B
Diff
Raw Normal View History

--- a/config/settings.rb
+++ b/config/settings.rb
2020-04-08 15:34:39 +05:30
@@ -10,7 +10,7 @@
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') }
+ source ENV.fetch('GITLAB_CONFIG') { Pathname.new(File.expand_path('gitlab.yml', __dir__)) }
namespace ENV.fetch('GITLAB_ENV') { Rails.env }
class << self