-
Notifications
You must be signed in to change notification settings - Fork 356
Closed
Description
This issue affects
Building sites locally
What did you do (e.g., steps to reproduce)
Trying to follow instructions to install github-pages locally. Using ruby 3.2, macOS Monterey
On running bundle exec jekyll serve
I get the following error
Liquid Exception: undefined method 'untaint' for "Welcome to Jekyll!":String in /_layouts/post.html`
Looking at Jekyll issue tracker, this is an issue with Liquid, fixed in v 4.0.4: jekyll/jekyll#9233
When I add this to the gemfile (gem "liquid", "~> 4.0.4"
), I get a version conflict:
Could not find compatible versions
Because github-pages >= 203, < 228 depends on liquid = 4.0.3
and Gemfile depends on liquid ~> 4.0.4,
github-pages >= 203, < 228 is forbidden.
So, because Gemfile depends on github-pages ~> 227,
version solving has failed.
And when I try requiring github-pages ~> 228
, it seems to be incompatible with M1 silicon due to a dependency:
Could not find gem 'http_parser.rb (= 0.8.0)' with platform 'x86_64-darwin-21' in rubygems repository https://rubygems.org/ or installed locally.
The source contains the following gems matching 'http_parser.rb (= 0.8.0)':
* http_parser.rb-0.8.0
Metadata
Metadata
Assignees
Labels
No labels