Error: no implicit conversion of Hash into Integer

It seems it’s not documented but Jekyll doesn’t work fully with Ruby 3.0. At least on Linux because of some dependency:

https://bbs.archlinux.org/viewtopic.php?id=265534

Mainly pathutil.