Skip to content

Commit bc590ff

Browse files
authored
Merge pull request rails#43424 from yahonda/net_smtp_requires_digest
Address action_mailbox bug report templates failures with Ruby3.1.0dev
2 parents aa29638 + 2be1df7 commit bc590ff

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

guides/bug_report_templates/action_mailbox_gem.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
# net-smtp, net-imap and net-pop were removed from default gems in Ruby 3.1, but is used by the `mail` gem.
1515
# So we need to add them as dependencies until `mail` is fixed: https://github.com/mikel/mail/pull/1439
1616
gem "net-smtp", require: false
17+
18+
# digest gem, which is one of the default gems has bumped to 3.0.1.pre for ruby 3.1.0dev.
19+
# Also `net-smtp` v0.2.2 adds dependency to digest gem which attempts to install digest 3.0.0.
20+
gem "digest", "~> 3.0.1.pre", require: false
1721
end
1822
end
1923

guides/bug_report_templates/action_mailbox_main.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
# net-smtp, net-imap and net-pop were removed from default gems in Ruby 3.1, but is used by the `mail` gem.
1414
# So we need to add them as dependencies until `mail` is fixed: https://github.com/mikel/mail/pull/1439
1515
gem "net-smtp", require: false
16+
17+
# digest gem, which is one of the default gems has bumped to 3.0.1.pre for ruby 3.1.0dev.
18+
# Also `net-smtp` v0.2.2 adds dependency to digest gem which attempts to install digest 3.0.0.
19+
gem "digest", "~> 3.0.1.pre", require: false
1620
end
1721
end
1822

0 commit comments

Comments
 (0)