From 46fbc3876b03f0c401951ac3536247a13825af10 Mon Sep 17 00:00:00 2001 From: Maciej Mensfeld Date: Sat, 16 Dec 2023 10:44:49 +0100 Subject: [PATCH] fix for bundler install on 2.7 --- .github/workflows/ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bc7f4a50..e9c54b48 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,7 +48,12 @@ jobs: - name: Install latest bundler run: | - gem install bundler --no-document + if [ "$(ruby -v | awk '{print $2}')" = "2.7.8" ]; then + gem install bundler -v 2.4.4 --no-document + else + gem install bundler --no-document + fi + bundle config set without 'tools benchmarks docs' - name: Bundle install