Skip to content

Commit 6c93013

Browse files
petergoldsteinpirj
authored andcommitted
Get Ruby 3.1 in CI
1 parent dbe64a7 commit 6c93013

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Gemfile-rails-dependencies

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,15 @@ else
3434
gem "puma"
3535
gem 'activerecord-jdbcsqlite3-adapter', platforms: [:jruby]
3636
gem 'selenium-webdriver', require: false
37+
38+
# This is required for Ruby 3.1 and Rails 6.1.x as of time
39+
# of writing, because in Ruby 3.1 these gems are no longer
40+
# automatically included. This issue was fixed on the Rails
41+
# side in Rails 7.0.1, but is not yet fixed in the Rails 6.1.x
42+
# branch. Discussion can be found here - https://github.com/mikel/mail/pull/1439
43+
if RUBY_VERSION >= '3.1' && version.split(' ').last < '7.0'
44+
gem 'net-smtp', require: false
45+
gem 'net-imap', require: false
46+
gem 'net-pop', require: false
47+
end
3748
end

0 commit comments

Comments
 (0)