Skip to content

Commit 2d39183

Browse files
committed
Fix CI: override bundler version instead of using the stale lockfile pin
First run failed: Gemfile.lock's BUNDLED WITH 2.0.2 is incompatible with Ruby 3.2 (String#untaint was removed in Ruby 3.0). Pinning bundler to 2.5 in the workflow itself rather than touching the checked-in lockfile.
1 parent ba818f4 commit 2d39183

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/ci_validate_jekyll.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,14 @@ jobs:
1717
- name: Checkout
1818
uses: actions/checkout@v7
1919

20+
# Gemfile.lock pins BUNDLED WITH 2.0.2, which is incompatible with
21+
# Ruby 3.2 (uses String#untaint, removed in Ruby 3.0). Overriding the
22+
# bundler version here rather than editing the checked-in lockfile.
2023
- name: Setup Ruby
2124
uses: ruby/setup-ruby@v1
2225
with:
2326
ruby-version: "3.2"
27+
bundler: "2.5"
2428
bundler-cache: true
2529

2630
- name: Build site

0 commit comments

Comments
 (0)