debian-mirror-gitlab/debian/patches/0660-fix-gitlab-yml-path.patch
2018-11-08 20:39:57 +05:30

11 lines
403 B
Diff

--- a/config/settings.rb
+++ b/config/settings.rb
@@ -1,7 +1,7 @@
require 'settingslogic'
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