From 49ed218b5568a9e823459afb4ee6b997edbd9bb7 Mon Sep 17 00:00:00 2001 From: Alexander Mankuta Date: Thu, 4 Jan 2024 18:22:03 +0200 Subject: [PATCH] Fix bundler installation on older Rubies --- .github/workflows/ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ea7393a0e..79907edec 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -62,6 +62,13 @@ jobs: restore-keys: | gems-${{ matrix.ruby }}- - name: Install dependencies + if: ${{ startsWith(matrix.ruby, '2.') }} + run: | + gem install bundler -v 2.4.22 + bundle config path ~/gems + bundle install --jobs 4 --retry 3 + - name: Install dependencies + if: ${{ ! startsWith(matrix.ruby, '2.') }} run: | gem install bundler bundle config path ~/gems