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'