Update dependency for modern ruby and remove spellcheck#375
Conversation
|
It is a bit more complicated. For automatic building and publishing the site we use an older container based on Leap 15.6 which contains Ruby 2.5. And it complains about wrong FFI gem version. See the failed check. Actually I'm not sure if we can make it to work with both Ruby 2.5 and 4.0. I guess we should rather update the container to use Leap 16.0 and then adapt it to work with Ruby 4.0. |
|
If you need to build the site locally then I'd suggest running the build in a Leap 15.6 container or virtual machine. |
|
Well, the reason for this PR is that we (= Heroes) updated the server that hosts yast.opensuse.org to Leap 16.0 which comes with Ruby 3.4 (see #374 for details). And it would really be nice if the site would build on the server that's hosting it ;-) (besides that, the hourly "yast.o.o build failed" mail is a bit annoying...) May I recommend that you update the CI to use a more generic (not YaST-specific) container? See for example https://github.com/openSUSE/www-o-o/blob/main/.github/workflows/jekyll.yml for a CI config you could use. |
Problem
The site didn't build on modern Ruby versions
#374
Solution
Updated dependencies, and removed raspell which no longer builds for latest rubies
Testing