debian-mirror-gitlab/debian/patches/0630-fix-mail-room-path.patch
2020-04-13 13:49: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|
%>
-