From cf21396a604397b3b957f4e34945efda953c683b Mon Sep 17 00:00:00 2001 From: Maciej Mensfeld Date: Sat, 16 Dec 2023 10:59:35 +0100 Subject: [PATCH] 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'