debian-mirror-gitlab/debian/patches/tweaks/0020-fix-mail-room-path.patch
2022-05-07 22:13:53 +05:30

12 lines
391 B
Diff

require_relative does not work with debian package layout
--- a/config/mail_room.yml
+++ b/config/mail_room.yml
@@ -1,6 +1,6 @@
:mailboxes:
<%
- require_relative "../lib/gitlab/mail_room" unless defined?(Gitlab::MailRoom)
+ require "/usr/share/gitlab/lib/gitlab/mail_room" unless defined?(Gitlab::MailRoom)
Gitlab::MailRoom.enabled_configs.each do |key, config|
%>
-