Skip to content

Moving to Ruby 3.0, Jekyll 4 #862

Open
@eguiraud

Description

@eguiraud

Our website build process depends on the github-pages gem, which does not support Jekyll 4 so we are stuck at Jekyll 3.9, and Jekyll 3.9 does not work with ruby 3, so we are stuck with ruby 2.7.

Ruby 2.7 died 2 months ago.

Building our site with Ruby 3.0 is possible, but we have to drop the dependency on the github-pages gem.

This Gemfile works for me with Ruby 3.0.5 and Jekyll 4.3.2 (with the caveat that I have not done extensive testing):

source "https://rubygems.org"

# Use the latest version.
gem "jekyll"
gem "webrick"

group :jekyll_plugins do
  gem "jekyll-paginate"
  gem "jekyll-sitemap"
  gem "jekyll-gist"
  gem "jekyll-feed"
  gem "jekyll-include-cache"
  gem "jekyll-liquify"
  gem "jekyll-archives"
  gem "jekyll-remote-theme"
end

There are also a couple of SCSS deprecation warnings but they seem easy to fix.

EDIT:

the warnings are coming from our fork of the minimal-mistakes theme and I fixed them in root-project/minimal-mistakes#22 .

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions