-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Local render Liquid Exception #242
Comments
I ran into this myself recently and I think it's because Ruby 3.2 has some breaking changes that Primer Spec's dependencies don't support yet. The solution for me was switching to Ruby 3.1.3. |
Thanks for the work-around @noah-weingarden ! |
Slightly more info: Ruby used to have a feature for taint checking which was removed in Ruby 3.2. Liquid 4.0.3 uses taint checking, so it's incompatible with Ruby 3.2. There are unrelated breaking changes preventing Jekyll from upgrading to Liquid 5.x, so there's a deadlock forcing the use of earlier versions of Ruby while building Jekyll sites for the time being. |
Thanks so much for digging into this @noah-weingarden! |
It might be nice to include a note here. On macOS you need to install |
I've added a note in 1a7f79a. I'm not certain if Jekyll will backport the fix to Jekyll v3 (which is what GitHub Pages uses by default without GitHub Actions), but I'll keep an eye out for it :) |
I get an error when trying to render locally.
I'm on the latest
main
in the public EECS 280 tutorials repo.Render locally, get an exception.
I get the same error after updating the dependencies.
Here's my system:
The text was updated successfully, but these errors were encountered: