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 Feb 18, 2022
1 parent 451e363 commit 817eb58
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 @@ -45,3 +45,10 @@ end
if ENV["RAILS_VERSION"] == "6.0"
gem "selenium-webdriver"
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 817eb58

Please sign in to comment.