Skip to content

Commit a348118

Browse files
committed
Don't install latest bundler version in Ruby 2.7
1 parent e367969 commit a348118

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,14 @@ jobs:
107107
108108
- name: Bundle
109109
env:
110+
RUBY_VERSION: ${{ matrix.ruby }}
110111
RAILS_VERSION: ${{ matrix.rails }}
111112
DB_ADAPTER: ${{ matrix.adapter }}
112113
BUNDLE_GEMFILE: gemfiles/${{ matrix.rails }}.gemfile
113114
run: |
114-
gem install bundler
115+
if [[ "${RUBY_VERSION}" != "2.7" ]]; then
116+
gem install bundler
117+
fi
115118
bundle config path vendor/bundle
116119
bundle install --jobs 4 --retry 3
117120

0 commit comments

Comments
 (0)