Skip to content

Commit bbe4923

Browse files
committed
Ruby 3.1 also requires net-smtp
1 parent c14fc1d commit bbe4923

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

Gemfile

+5-5
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('3')
2525
# the 'async' gem that relies on the latest ruby, since RubyGems doesn't
2626
# resolve gems based on the required ruby version.
2727
gem 'async', '< 3', require: false
28-
29-
# 'net/smtp' is required by 'mail', see:
30-
# - https://github.com/ruby/net-protocol/issues/10
31-
# - https://stackoverflow.com/a/72474475
32-
gem 'net-smtp', require: false
3328
end
3429

30+
# 'net/smtp' is required by 'mail', see:
31+
# - https://github.com/ruby/net-protocol/issues/10
32+
# - https://stackoverflow.com/a/72474475
33+
gem 'net-smtp', require: false
34+
3535
gemspec
3636

3737
# Use a local Gemfile to include development dependencies that might not be

bin/sandbox

+1
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ cat <<RUBY >> Gemfile
7171
gem 'solidus', github: 'solidusio/solidus', branch: '$BRANCH'
7272
gem 'rails-i18n'
7373
gem 'solidus_i18n'
74+
gem 'net-smtp', require: false
7475
7576
gem '$extension_name', path: '..'
7677

0 commit comments

Comments
 (0)