debian-mirror-gitlab/debian/patches/tweaks/0020-fix-mail-room-path.patch
2021-11-19 19:06:04 +05:30

12 lines
386 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 |config|
%>
-