Skip to content

Upgrading ruby and jekyll versions #3557

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: gh-pages
Choose a base branch
from
Open

Conversation

ZoeLeBlanc
Copy link
Member

A much needed upgrade for Ruby and Jekyll versions so that it can run on newer Macbooks. Also upgrading our build.yml to use the official htmlproofer now that we have upgraded everything. This is part of the tasks for #3497

Checklist

  • Assign yourself in the "Assignees" menu
  • Add the appropriate "Label"
  • If this PR closes an Issue, add the phrase Closes #ISSUENUMBER to your summary above
  • Ensure the status checks pass: if you have difficulty fixing build errors, please contact our Publishing Manager @anisa-hawes
  • Check the Netlify Preview: navigate to netlify/ph-preview/deploy-preview and click 'details' (at right)
  • Assign at least one individual or team to "Reviewers"
    • if the text needs to be translated, please follow the translation request guidelines, then assign the relevant language team(s) as "Reviewers" and tag both the team as well as the managing editor in your PR.

@ZoeLeBlanc ZoeLeBlanc self-assigned this May 7, 2025
@ZoeLeBlanc
Copy link
Member Author

Ok so I've had to add in this logic to the bundle file to ensure that GitHub build.yml workflow works:

bundle lock --add-platform x86_64-linux
bundle lock --add-platform arm64-darwin-24
bundle lock --add-platform x86_64-darwin-20
bundle lock --add-platform x64-mingw32

This gives us the following

Platform Use Case
x86_64-linux GitHub Actions, most Linux distros
arm64-darwin-24 Apple Silicon (M1/M2 Macs)
x86_64-darwin-20 Intel Macs
x64-mingw32 Windows users with RubyInstaller

I've also had to add in logic for pulling out htmlproofer errors. To do it you run:

bundle exec htmlproofer _site > htmlproofer-output.txt 2>&1

ruby parse_htmlproofer_to_csv.rb

Will be working with @anisa-hawes this month to fix these

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

Successfully merging this pull request may close these issues.

1 participant