gentoo-overlay/www-apps/gitlab-ce/files/01-gitlab-ce-8.7.5-fix-sendmail-config.patch
Manuel Friedli 28707520aa www-apps/gitlab-ce:
added ebuild for gitlab-8.12.7 and incorporated the following patches from Jakub:
- 0002-default-configs.patch
- 0005-fix-check-task.patch
- 0006-replace-sys-filesystem.patch

Package-Manager: portage-2.3.0
2016-10-21 08:09:18 +02:00

21 lines
705 B
Diff

diff --git a/config/environments/production.rb b/config/environments/production.rb
index a9d8ac4..256770a 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -69,11 +69,10 @@ Rails.application.configure do
config.active_support.deprecation = :notify
config.action_mailer.delivery_method = :sendmail
- # Defaults to:
- # # config.action_mailer.sendmail_settings = {
- # # location: '/usr/sbin/sendmail',
- # # arguments: '-i -t'
- # # }
+ config.action_mailer.sendmail_settings = {
+ location: '/usr/sbin/sendmail',
+ arguments: '-i'
+ }
config.action_mailer.perform_deliveries = true
config.action_mailer.raise_delivery_errors = true