Skip to content

Commit

Permalink
Install net-smtp if using Ruby 3.1
Browse files Browse the repository at this point in the history
Necessary until mikel/mail#1439 got merged.
  • Loading branch information
tvdeyen committed Apr 11, 2022
1 parent f438ab2 commit 6cb2098
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,10 @@ group :development, :test do
gem "brakeman", require: false
end
end

# Ruby 3.1 split out the net-smtp gem
# Necessary until https://github.com/mikel/mail/pull/1439
# got merged and released.
if Gem.ruby_version >= Gem::Version.new("3.1.0")
gem "net-smtp", "~> 0.3.0", require: false
end

0 comments on commit 6cb2098

Please sign in to comment.