[5.0, 5.1, 5.2].each do |version| appraise "rails_#{version}" do gem 'rails', "~> #{version}.0" gem "sqlite3", "~> 1.3.0" end end appraise "rails_6.0" do gem 'rails', "~> 6.0.3" gem "sqlite3", "~> 1.4.0" end