Fix building with Jekyll on Ruby 3.4 (#1079)

Ruby 3.4 removed several standard library packages, so they have
to be installed as gems instead.

This also updates Jekyll to use a version that's supported in Ruby 3.4.

The minimum required Ruby version is now 3.2.
This commit is contained in:
Hugo Locurcio
2025-06-12 20:41:04 +02:00
committed by GitHub
parent fb56943a61
commit 5fe2df3dbb
5 changed files with 140 additions and 41 deletions

View File

@@ -18,10 +18,10 @@ jobs:
# Configure the build environment.
- name: Install Ruby 3.1
- name: Install Ruby 3.2
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1'
ruby-version: '3.2'
# Runs 'bundle install' and caches installed gems automatically
bundler-cache: true
@@ -34,7 +34,7 @@ jobs:
run: bundle exec jekyll build
# Upload resulting "_site" directory as artifact
- uses: actions/upload-artifact@v4
with:
name: site

View File

@@ -23,10 +23,10 @@ jobs:
# Configure the build environment.
- name: Install Ruby 3.1
- name: Install Ruby 3.2
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1'
ruby-version: '3.2'
# Runs 'bundle install' and caches installed gems automatically
bundler-cache: true