Skip to content

Conversation

anssiko
Copy link
Member

@anssiko anssiko commented Oct 17, 2025

This helps maintain a Jekyll build environment that matches the GH Pages build environment.

@ibelem, can you please check this works on your system following the updated instruction in README.

I tested this locally on Jekyll 4.4.1 and it worked on my system.

I incorporated Gemfile.lock changes in a separate commit so you can also try to update dependencies yourself by checking out HEAD~1 and running:

bundle install

This helps maintain a Jekyll build environment that matches the GH Pages build environment.

Tested locally with Jekyll 4.4.1 (version requirement remains commented out in Gemfile).

Docs:
https://docs.github.com/en/pages/setting-up-a-github-pages-site-with-jekyll/creating-a-github-pages-site-with-jekyll

"github-pages" version 232 in Gemfile per https://pages.github.com/versions.json
Update dependencies with:
bundle install
@ibelem
Copy link
Contributor

ibelem commented Oct 20, 2025

@anssiko Thanks for updating the build environment, I tested your PR and no build errors found. 👍 Please merge this PR.

belem@int:~/github/webmachinelearning.github.io$ git fetch upstream pull/96/head:github-pages-gem
From https://github.com/webmachinelearning/webmachinelearning.github.io
 * [new ref]         refs/pull/96/head -> github-pages-gem
belem@int:~/github/webmachinelearning.github.io$ git checkout github-pages-gem 
Switched to branch 'github-pages-gem'
belem@int:~/github/webmachinelearning.github.io$ git log
commit 2ab0db783df8b68a119f0b0e6c95003118901002 (HEAD -> github-pages-gem, upstream/github-pages-gem)
Author: Anssi Kostiainen <anssi.kostiainen@gmail.com>
Date:   Fri Oct 17 12:31:41 2025 +0300

    Update Gemfile.lock
    
    Update dependencies with:
    bundle install

commit 13d5e93d32aff8d8738a17f6d4117f4fe4e0b69e
Author: Anssi Kostiainen <anssi.kostiainen@gmail.com>
Date:   Fri Oct 17 12:11:49 2025 +0300

    Use github-pages gem
    
    This helps maintain a Jekyll build environment that matches the GH Pages build environment.
    
    Tested locally with Jekyll 4.4.1 (version requirement remains commented out in Gemfile).
belem@int:~/github/webmachinelearning.github.io$ bundle install
Fetching gem metadata from https://rubygems.org/.........
Using concurrent-ruby 1.1.8
Using public_suffix 4.0.6
Using bundler 2.3.26
Using colorator 1.1.0
Fetching simpleidn 0.2.3
Fetching minitest 5.26.0
Fetching benchmark 0.4.1
Fetching mutex_m 0.3.0
Fetching securerandom 0.4.1
Using eventmachine 1.2.7
Using ffi 1.15.0
Using http_parser.rb 0.6.0
Fetching json 2.15.1
Fetching commonmarker 0.23.12
Fetching execjs 2.10.0
Fetching logger 1.7.0
Fetching uri 1.0.4
Fetching drb 2.2.3
Fetching connection_pool 2.5.4
Fetching base64 0.3.0
Fetching coffee-script-source 1.12.2
Fetching csv 3.3.5
Fetching bigdecimal 3.3.1
Installing mutex_m 0.3.0
Installing base64 0.3.0
Installing securerandom 0.4.1
Using forwardable-extended 2.6.0
Fetching gemoji 4.1.0
Using rexml 3.2.5
Using liquid 4.0.4
Using rb-fsevent 0.10.4
Fetching rouge 3.30.0
Installing connection_pool 2.5.4
Fetching mercenary 0.3.6
Installing logger 1.7.0
Installing benchmark 0.4.1
Using safe_yaml 1.0.5
Fetching webrick 1.9.1
Using racc 1.7.3
Fetching jekyll-paginate 1.1.0
Fetching rubyzip 2.4.1
Installing execjs 2.10.0
Fetching jekyll-swiss 1.0.0
Installing drb 2.2.3
Using unicode-display_width 1.7.0
Using addressable 2.8.0
Using i18n 1.8.10
Fetching tzinfo 2.0.6
Installing uri 1.0.4
Using em-websocket 0.5.2
Fetching ethon 0.15.0
Installing coffee-script-source 1.12.2
Using rb-inotify 0.10.1
Using pathutil 0.16.2
Using kramdown 2.4.0
Using nokogiri 1.16.5 (x86_64-linux)
Fetching terminal-table 1.8.0
Installing csv 3.3.5
Fetching net-http 0.6.0
Installing json 2.15.1 with native extensions
Installing minitest 5.26.0
Fetching coffee-script 2.4.1
Installing simpleidn 0.2.3
Installing commonmarker 0.23.12 with native extensions
Fetching sass-listen 4.0.0
Installing mercenary 0.3.6
Installing jekyll-paginate 1.1.0
Installing bigdecimal 3.3.1 with native extensions
Using listen 3.5.1
Using kramdown-parser-gfm 1.1.0
Fetching dnsruby 1.73.0
Using jekyll-watch 2.2.1
Installing jekyll-swiss 1.0.0
Installing gemoji 4.1.0
Installing rubyzip 2.4.1
Installing terminal-table 1.8.0
Installing coffee-script 2.4.1
Fetching jekyll-coffeescript 1.2.2
Installing webrick 1.9.1
Installing tzinfo 2.0.6
Installing ethon 0.15.0
Fetching typhoeus 1.5.0
Installing net-http 0.6.0
Fetching faraday-net_http 3.4.1
Installing sass-listen 4.0.0
Fetching sass 3.7.4
Installing rouge 3.30.0
Installing jekyll-coffeescript 1.2.2
Installing faraday-net_http 3.4.1
Installing dnsruby 1.73.0
Installing typhoeus 1.5.0
Installing sass 3.7.4
Fetching jekyll-sass-converter 1.5.2
Installing jekyll-sass-converter 1.5.2
Fetching jekyll 3.10.0
Fetching faraday 2.14.0
Installing jekyll 3.10.0
Fetching jekyll-default-layout 0.1.5
Fetching jekyll-feed 0.17.0
Fetching jekyll-include-cache 0.2.1
Fetching jekyll-optional-front-matter 0.3.2
Fetching jekyll-remote-theme 0.4.3
Fetching jekyll-seo-tag 2.8.0
Fetching jekyll-titles-from-headings 0.5.3
Fetching jekyll-readme-index 0.3.0
Fetching jekyll-redirect-from 0.16.0
Fetching jekyll-relative-links 0.6.1
Fetching jekyll-sitemap 1.4.0
Fetching jekyll-avatar 0.8.0
Fetching jekyll-toc 0.19.0
Installing faraday 2.14.0
Fetching sawyer 0.9.2
Installing jekyll-optional-front-matter 0.3.2
Installing jekyll-relative-links 0.6.1
Installing jekyll-readme-index 0.3.0
Installing jekyll-feed 0.17.0
Installing jekyll-avatar 0.8.0
Installing jekyll-default-layout 0.1.5
Installing jekyll-include-cache 0.2.1
Installing jekyll-remote-theme 0.4.3
Installing jekyll-titles-from-headings 0.5.3
Installing jekyll-toc 0.19.0
Installing jekyll-redirect-from 0.16.0
Fetching activesupport 7.1.5.2
Installing jekyll-seo-tag 2.8.0
Fetching jekyll-theme-architect 0.2.0
Fetching jekyll-theme-cayman 0.2.0
Fetching jekyll-theme-dinky 0.2.0
Fetching jekyll-theme-hacker 0.2.0
Fetching jekyll-theme-leap-day 0.2.0
Fetching jekyll-theme-merlot 0.2.0
Fetching jekyll-theme-midnight 0.2.0
Fetching jekyll-theme-minimal 0.2.0
Fetching jekyll-theme-modernist 0.2.0
Fetching jekyll-theme-slate 0.2.0
Fetching jekyll-theme-tactile 0.2.0
Fetching jekyll-theme-time-machine 0.2.0
Installing sawyer 0.9.2
Using minima 2.5.1
Fetching octokit 4.25.1
Installing jekyll-sitemap 1.4.0
Fetching jekyll-commonmark 1.4.0
Installing jekyll-theme-modernist 0.2.0
Installing jekyll-theme-cayman 0.2.0
Installing jekyll-theme-dinky 0.2.0
Installing jekyll-theme-hacker 0.2.0
Installing jekyll-theme-time-machine 0.2.0
Installing jekyll-theme-slate 0.2.0
Installing jekyll-theme-tactile 0.2.0
Installing jekyll-theme-architect 0.2.0
Installing octokit 4.25.1
Fetching jekyll-gist 1.5.0
Fetching jekyll-github-metadata 2.16.1
Fetching github-pages-health-check 1.18.2
Installing jekyll-commonmark 1.4.0
Fetching jekyll-commonmark-ghpages 0.5.1
Installing activesupport 7.1.5.2
Fetching html-pipeline 2.14.3
Installing jekyll-theme-minimal 0.2.0
Installing jekyll-theme-merlot 0.2.0
Installing jekyll-theme-leap-day 0.2.0
Installing jekyll-theme-midnight 0.2.0
Installing jekyll-gist 1.5.0
Installing jekyll-github-metadata 2.16.1
Fetching jekyll-theme-primer 0.6.0
Installing jekyll-commonmark-ghpages 0.5.1
Installing github-pages-health-check 1.18.2
Installing html-pipeline 2.14.3
Fetching jekyll-mentions 1.6.0
Fetching jemoji 0.13.0
Installing jekyll-theme-primer 0.6.0
Installing jemoji 0.13.0
Installing jekyll-mentions 1.6.0
Fetching github-pages 232
Installing github-pages 232
Bundle complete! 8 Gemfile dependencies, 100 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Post-install message from dnsruby:
Installing dnsruby...
  For issues and source code: https://github.com/alexdalitz/dnsruby
  For general discussion (please tell us how you use dnsruby): https://groups.google.com/forum/#!forum/dnsruby
Post-install message from sass:

Ruby Sass has reached end-of-life and should no longer be used.

* If you use Sass as a command-line tool, we recommend using Dart Sass, the new
  primary implementation: https://sass-lang.com/install

* If you use Sass as a plug-in for a Ruby web framework, we recommend using the
  sassc gem: https://github.com/sass/sassc-ruby#readme

* For more details, please refer to the Sass blog:
  https://sass-lang.com/blog/posts/7828841

Post-install message from html-pipeline:
-------------------------------------------------
Thank you for installing html-pipeline!
You must bundle Filter gem dependencies.
See html-pipeline README.md for more details.
https://github.com/jch/html-pipeline#dependencies
-------------------------------------------------
Post-install message from rubyzip:
RubyZip 3.0 is coming!
**********************

The public API of some Rubyzip classes has been modernized to use named
parameters for optional arguments. Please check your usage of the
following classes:
  * `Zip::File`
  * `Zip::Entry`
  * `Zip::InputStream`
  * `Zip::OutputStream`
  * `Zip::DOSTime`

Run your test suite with the `RUBYZIP_V3_API_WARN` environment
variable set to see warnings about usage of the old API. This will
help you to identify any changes that you need to make to your code.
See https://github.com/rubyzip/rubyzip/wiki/Updating-to-version-3.x for
more information.

Please ensure that your Gemfiles and .gemspecs are suitably restrictive
to avoid an unexpected breakage when 3.0 is released (e.g. ~> 2.3.0).
See https://github.com/rubyzip/rubyzip for details. The Changelog also
lists other enhancements and bugfixes that have been implemented since
version 2.3.0.
belem@int:~/github/webmachinelearning.github.io$ bundle exec jekyll serve
Configuration file: /home/belem/github/webmachinelearning.github.io/_config.yml
To use retry middleware with Faraday v2.0+, install `faraday-retry` gem
            Source: /home/belem/github/webmachinelearning.github.io
       Destination: /home/belem/github/webmachinelearning.github.io/_site
 Incremental build: disabled. Enable with --incremental
      Generating... 
       Jekyll Feed: Generating feed for posts
                    done in 0.742 seconds.
 Auto-regeneration: enabled for '/home/belem/github/webmachinelearning.github.io'
    Server address: http://0.0.0.0:4000/
  Server running... press ctrl-c to stop.

@anssiko anssiko merged commit 94f43d3 into main Oct 20, 2025
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.

2 participants