Skip to content

Commit 64802a3

Browse files
committed
build: avoid Rails 7 on MRI 2.4.
1 parent 451d0c9 commit 64802a3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Gemfile

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ gemspec
77
gem 'mysql2', '~> 0.5.0', :platform => :ruby
88
gem 'pg', '~> 0.18.4', :platform => :ruby
99

10+
gem 'activerecord', '< 7' if RUBY_VERSION.to_f <= 2.4
11+
1012
if RUBY_PLATFORM == 'java'
1113
gem 'jdbc-mysql', '5.1.35', :platform => :jruby
1214
gem 'activerecord-jdbcmysql-adapter', '>= 1.3.23', :platform => :jruby

0 commit comments

Comments
 (0)