From 5b77a5af7b6286b49cf85ae71596a31563a4c3e9 Mon Sep 17 00:00:00 2001 From: Fred Snyder Date: Wed, 14 Feb 2024 19:03:25 -0500 Subject: [PATCH] Select bundler for Ruby 2 --- .github/workflows/rspec.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rspec.yml b/.github/workflows/rspec.yml index fa9e090f9..0280f5cab 100644 --- a/.github/workflows/rspec.yml +++ b/.github/workflows/rspec.yml @@ -34,7 +34,11 @@ jobs: with: ruby-version: ${{ matrix.ruby-version }} bundler-cache: false - - run: bundle install + - name: Select bundler + if: startsWith(matrix.ruby-version, '2') + run: gem install bundler -v 2.4.22 + - name: Install gems + run: bundle install - name: Set up yardocs run: bundle exec yard gems - name: Run tests