Skip to content

Commit 37b86ec

Browse files
committed
Pin bundler/rubygems to known working version
1 parent b145fc2 commit 37b86ec

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ci/.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
- uses: actions/checkout@v2
5858
- uses: ruby/setup-ruby@v1
5959
with:
60-
bundler: ${{ matrix.bundler || 2 }}
60+
bundler: ${{ matrix.bundler || '2.2.22' }}
6161
ruby-version: ${{ matrix.ruby }}
6262
- run: script/update_rubygems_and_install_bundler
6363
- run: script/clone_all_rspec_repos
@@ -123,7 +123,7 @@ jobs:
123123
- uses: actions/checkout@v2
124124
- uses: ruby/setup-ruby@v1
125125
with:
126-
bundler: 2
126+
bundler: '2.2.22'
127127
ruby-version: ${{ matrix.ruby }}
128128
bundler-cache: true
129129
- run: cinst ansicon

ci/script/update_rubygems_and_install_bundler

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ set -e
33
source script/functions.sh
44

55
if is_ruby_23_plus; then
6-
yes | gem update --system
7-
yes | gem install bundler
6+
yes | gem update --system '3.2.22'
7+
yes | gem install bundler -v '2.2.22'
88
else
99
echo "Warning installing older versions of Rubygems / Bundler"
1010
gem update --system '2.7.8'

0 commit comments

Comments
 (0)