I’m maintaining some very old Jekyll projects on an M1 or otherwise modern system. If you get this error, there are many solutions online but the simplest is to stop trying to install an old dependency.
Try updating the ffi version via bundle update ffi
If your build works after this (e..g bundle exec jekyll) you’re good to go.
Making the old versions of software work is often much hackier.
I just got the same issue when i tried to maintain the old jekyll blog for myself
thanks for your solution, dude
Nice!! Glad it helped