Replace more relative require by absolute path

This commit is contained in:
Pirate Praveen 2023-05-12 13:40:30 +05:30
parent 43bec5faae
commit 11aee6014e
No known key found for this signature in database
GPG key ID: 8F53E0193B294B75

View file

@ -25,3 +25,12 @@ Debian specific patch to adapt to debian policy mandated paths
# Initialize the Rails application.
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)