Skip to content

Update dependency for modern ruby and remove spellcheck#375

Open
hellcp wants to merge 1 commit into
yast:masterfrom
hellcp:master
Open

Update dependency for modern ruby and remove spellcheck#375
hellcp wants to merge 1 commit into
yast:masterfrom
hellcp:master

Conversation

@hellcp
Copy link
Copy Markdown
Contributor

@hellcp hellcp commented Apr 22, 2026

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

  • Tested manually

@lslezak
Copy link
Copy Markdown
Member

lslezak commented May 11, 2026

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.

@lslezak
Copy link
Copy Markdown
Member

lslezak commented May 11, 2026

If you need to build the site locally then I'd suggest running the build in a Leap 15.6 container or virtual machine.

@cboltz
Copy link
Copy Markdown

cboltz commented May 11, 2026

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.

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.

3 participants