appraise 'activerecord52' do gem 'activerecord', '~> 5.2' end appraise 'activerecord61' do gem 'activerecord', '~> 6.1' end if RUBY_VERSION >= '2.7.0' appraise 'activerecord70' do gem 'activerecord', '~> 7.0' end end