Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Moving to Ruby 3.0, Jekyll 4

Đang mở
#862 6 bình luận 0 reaction 1 người được giao Xem trên GitHub

@Axel-Naumann đang làm issue này rồi.

Từ ngày 14/7/2023.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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 https://github.com/root-project/minimal-mistakes/pull/22 .

Ngôn ngữ chính
Python
Star
53
Fork
61
Merge trung bình
1 ngày 1 giờ
Pull request đã merge (30 ngày)
8

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của root-project/web

Tất cả issue của root-project/web

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.