after updating debian to current stable, and so upgrading ruby to 3.1 (from 2.7), i receive the error in the title for all .md and all .org files in my site:
Error: could not read file /path/to/site/markdown-file.md: wrong number of arguments (given 1, expected 0)
i followed the instructions at:
(that is, after upgrading broke, i removed all local+system gems, removed all system ruby, and tried to start over, then followed the reinstall instructions for jekyll.)
i only have a system ruby install, and a local bundler/jeykll/deps install.
earlier, i also tried to force the install of all the old versions of my gems, to see if my site was somehow hitched to them, to no avail.
i have searched for this error and not found anything.
ruby version:
ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [x86_64-linux-gnu]
jekyll won’t tell me its version, but i have the latest gems for it and deps.
bundle info jekyll
returns: jekyll (4.3.2)
my site runs minimal mistakes, and i have minimal-mistakes-jekyll (4.24.0)
. (when i run bundle exec jekyll serve
i now also receive a number of deprecation warnins about its calling of sass functions (subtraction and so on) but i don’t understand if/how that could cause the issue above?)
has anyone seen this error or might have any tips on how to unbreak my site?