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