Skip to content

Commit c27be45

Browse files
committed
Use a specific Bundler version to match the required version of Ruby we need.
1 parent e8713ff commit c27be45

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

.github/workflows/check-code-embedding.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,14 @@ jobs:
3636
with:
3737
ruby-version: '2.7.4'
3838

39+
# Bundler version is restricted to `2.4.22`,
40+
# as we want to use Ruby `2.7.4` to match GH Pages environment.
41+
#
42+
# Any newer versions of Bundler require Ruby 3.x,
43+
# which are much newer than what's GH Pages has at the moment.
44+
#
3945
- run: |
40-
gem install bundler
46+
gem install bundler -v 2.4.22
4147
bundle install
4248
4349
- name: Check Embedding

.github/workflows/proof-links.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,15 @@ jobs:
2121
with:
2222
ruby-version: '2.7.4'
2323

24+
# Bundler version is restricted to `2.4.22`,
25+
# as we want to use Ruby `2.7.4` to match GH Pages environment.
26+
#
27+
# Any newer versions of Bundler require Ruby 3.x,
28+
# which are much newer than what's GH Pages has at the moment.
29+
#
2430
- name: Run Jekyll build
2531
run: |
26-
gem install bundler
32+
gem install bundler -v 2.4.22
2733
bundle install
2834
bundle exec jekyll build
2935

0 commit comments

Comments
 (0)