Skip to content

Bump Ruby to 4.0.3, drop github-pages gem#4698

Open
bjormel wants to merge 2 commits intomasterfrom
bjormel/ruby-4-htmlproofer-fix
Open

Bump Ruby to 4.0.3, drop github-pages gem#4698
bjormel wants to merge 2 commits intomasterfrom
bjormel/ruby-4-htmlproofer-fix

Conversation

@bjormel
Copy link
Copy Markdown
Member

@bjormel bjormel commented May 8, 2026

Upstream vespa-engine/gh-actions bumped ruby to 4.0.3 in jekyll-link-checker.yml, breaking htmlproofer here: the github-pages gem pulls commonmarker ~> 0.22 which caps Ruby < 4.0.

Replace github-pages with a direct Jekyll dependency plus the four plugins it was implicitly providing (jekyll-feed already declared, add jekyll-redirect-from, jekyll-sitemap, jekyll-seo-tag). Jekyll stays at 3.10.0, so build behavior is unchanged. Bump ruby-version to 4.0.3 in build-pages, deploy-pages, feed workflows and the install-deps action.

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com

@bjormel bjormel closed this May 8, 2026
@bjormel bjormel reopened this May 8, 2026
Upstream vespa-engine/gh-actions bumped ruby to 4.0.3 in
jekyll-link-checker.yml, breaking htmlproofer here: the github-pages
gem pulls commonmarker ~> 0.22 which caps Ruby < 4.0.

Replace github-pages with a direct Jekyll dependency plus the four
plugins it was implicitly providing (jekyll-feed already declared,
add jekyll-redirect-from, jekyll-sitemap, jekyll-seo-tag). Jekyll
stays at 3.10.0, so build behavior is unchanged. Bump ruby-version
to 4.0.3 in build-pages, deploy-pages, feed workflows and the
install-deps action.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@bjormel bjormel force-pushed the bjormel/ruby-4-htmlproofer-fix branch from abb8a3a to aa4a20e Compare May 8, 2026 14:09
@bjormel
Copy link
Copy Markdown
Member Author

bjormel commented May 8, 2026

https://github.com/vespa-engine/documentation/actions/runs/25560576513/job/75030790970#logs

@bjormel bjormel requested a review from kkraune May 8, 2026 14:34
Re-ran `bundle install` with Ruby 4.0.3 + Bundler 4.0.3 so the
lockfile's RUBY VERSION and BUNDLED WITH match the version CI uses.
Verified `bundle exec jekyll build` succeeds locally under 4.0.3.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@bjormel
Copy link
Copy Markdown
Member Author

bjormel commented May 8, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant