#!/usr/bin/env ruby # frozen_string_literal: true %w[7.1].each do |ar_version| `rm Gemfile.lock` Process.waitpid(Kernel.spawn({ 'AR_VERSION' => ar_version }, "bundle install --quiet", close_others: true)) Process.waitpid(Kernel.spawn({ 'AR_VERSION' => ar_version }, "rspec", close_others: true)) end