diff --git a/debian/patches/tweaks/0060-fix-relative-paths.patch b/debian/patches/tweaks/0060-fix-relative-paths.patch index 6d9b65e29e..1fb71e1edd 100644 --- a/debian/patches/tweaks/0060-fix-relative-paths.patch +++ b/debian/patches/tweaks/0060-fix-relative-paths.patch @@ -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)