From f3a1b42d10e910deca2756b59690e22479e5fdc3 Mon Sep 17 00:00:00 2001 From: evazion Date: Thu, 8 Dec 2022 16:33:32 -0600 Subject: [PATCH] gems: revert mail gem to fix startup failure. mail-2.8.0 has a bug that causes Rails to fail to boot in production. Temporarily revert back to 2.7.1. See https://www.github.com/mikel/mail/issues/1489 --- Gemfile | 2 +- Gemfile.lock | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/Gemfile b/Gemfile index 6f993367d..a153c8571 100644 --- a/Gemfile +++ b/Gemfile @@ -33,7 +33,7 @@ gem 'http' gem 'activerecord-hierarchical_query' gem 'http-cookie', git: "https://github.com/danbooru/http-cookie" gem 'pundit' -gem 'mail' +gem 'mail', '< 2.8' gem 'nokogiri' gem 'view_component' gem 'tzinfo-data' diff --git a/Gemfile.lock b/Gemfile.lock index ffee6aac0..1f29ef60c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -280,11 +280,8 @@ GEM loofah (2.19.0) crass (~> 1.0.2) nokogiri (>= 1.5.9) - mail (2.8.0) + mail (2.7.1) mini_mime (>= 0.1.1) - net-imap - net-pop - net-smtp marcel (1.0.2) matrix (0.4.2) memoist (0.16.2) @@ -569,7 +566,7 @@ DEPENDENCIES http-cookie! ipaddress_2 listen - mail + mail (< 2.8) memoist memory_profiler minitest-ci