diff --git a/guides/bug_report_templates/action_mailbox_gem.rb b/guides/bug_report_templates/action_mailbox_gem.rb index a56cb5b10f..bae45b5de1 100644 --- a/guides/bug_report_templates/action_mailbox_gem.rb +++ b/guides/bug_report_templates/action_mailbox_gem.rb @@ -14,6 +14,10 @@ gemfile(true) do # net-smtp, net-imap and net-pop were removed from default gems in Ruby 3.1, but is used by the `mail` gem. # So we need to add them as dependencies until `mail` is fixed: https://github.com/mikel/mail/pull/1439 gem "net-smtp", require: false + + # digest gem, which is one of the default gems has bumped to 3.0.1.pre for ruby 3.1.0dev. + # Also `net-smtp` v0.2.2 adds dependency to digest gem which attempts to install digest 3.0.0. + gem "digest", "~> 3.0.1.pre", require: false end end diff --git a/guides/bug_report_templates/action_mailbox_main.rb b/guides/bug_report_templates/action_mailbox_main.rb index 7661940ff5..119175230c 100644 --- a/guides/bug_report_templates/action_mailbox_main.rb +++ b/guides/bug_report_templates/action_mailbox_main.rb @@ -13,6 +13,10 @@ gemfile(true) do # net-smtp, net-imap and net-pop were removed from default gems in Ruby 3.1, but is used by the `mail` gem. # So we need to add them as dependencies until `mail` is fixed: https://github.com/mikel/mail/pull/1439 gem "net-smtp", require: false + + # digest gem, which is one of the default gems has bumped to 3.0.1.pre for ruby 3.1.0dev. + # Also `net-smtp` v0.2.2 adds dependency to digest gem which attempts to install digest 3.0.0. + gem "digest", "~> 3.0.1.pre", require: false end end