Replace more relative require by absolute path
This commit is contained in:
parent
43bec5faae
commit
11aee6014e
1 changed files with 9 additions and 0 deletions
|
@ -25,3 +25,12 @@ Debian specific patch to adapt to debian policy mandated paths
|
||||||
|
|
||||||
# Initialize the Rails application.
|
# Initialize the Rails application.
|
||||||
Rails.application.initialize!
|
Rails.application.initialize!
|
||||||
|
--- a/config/initializers_before_autoloader/001_fast_gettext.rb
|
||||||
|
+++ b/config/initializers_before_autoloader/001_fast_gettext.rb
|
||||||
|
@@ -1,5 +1,5 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
-require_relative '../../lib/gitlab/i18n'
|
||||||
|
+require_relative '/usr/share/gitlab/lib/gitlab/i18n'
|
||||||
|
|
||||||
|
Gitlab::I18n.setup(domain: 'gitlab', default_locale: :en)
|
||||||
|
|
Loading…
Reference in a new issue