Closed grdryn closed 2 years ago
@tombentley @wtrocki do you know of a working container that can be used to build the site locally, or should I attempt to create one? Or should I try to migrate this project to a newer Jekyll/Ruby?
I'm not decision maker but can provide context. Github actions uses that version because that is the only version that works - I could update to latest but that requires jeckyl update
Maybe updating to a newer Jekyll might help?
Yes. That is what we can do, but we need volunteer who can do it - not sure how much work is involved.
Maybe updating to a newer Jekyll might help?
Yes. That is what we can do, but we need volunteer who can do it - not sure how much work is involved.
@wtrocki I'll try to find some time to try it out, unless there are objections from others :slightly_smiling_face:
@tombentley is the ultimate approver on this topic :D
Aside: I've always found Ruby to be afflicted by XKCD-1987-type problem. So if we had a container for people to reproducibly build locally that would be great @grdryn. I don't have objections to updating to a newer Jekyll if the github action that builds the site can work with that.
@tombentley Yes, that's a great illustration of the problem! :slightly_smiling_face:
Okay, I'll try to focus initially on a container image. If I find that that's made easier by a new Jekyll, and getting that working is straightforward on GitHub Actions, then I'll try that.
Brilliant, thank you!
Github actions is using container so maybe it can be reused?
As mentioned in #46, I didn't manage to build the site on Fedora using the instructions in the README. At least the first issue seemed to be this, which indicates that the version of Jekyll that GH pages uses doesn't work with Ruby 3 (and that's the min version available on Fedora).
Instead of faffing about with Ruby on different operating systems, instructions to run in a container might be simpler? I tried doing that with the ubi8/ruby-27 image, but hit a litany of issues:
Maybe updating to a newer Jekyll might help? I don't know enough about GH pages to know whether it's a hard requirement to use that Jekyll 3.9.0 version?