Liquid 4.0.3 "tainted"

Thanks for alerting us! I ran my full update cycle, and got nasty error on running Jekyll

<internal:/opt/homebrew/Cellar/ruby/3.2.0/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:85:in `require': dlopen(/Users/bach/gems/gems/pathname-0.2.1/lib/pathname.bundle, 0x0009): Library not loaded: /opt/homebrew/opt/ruby/lib/libruby.3.1.dylib (LoadError)
  Referenced from: <DA0087B6-417D-3DED-8A47-9C4B890B177B> /Users/bach/gems/gems/pathname-0.2.1/lib/pathname.bundle … …

So I simply trashed my $HOME/gems folder, ran full update again. All gems installed, it works! Then simply repeat, problems again, now it complained that liquid-4.0.4 was missing. Indeed there was a liquid-5…. So I used bundle install to put liquid-4.0.4 back, but gem cleanup deletes it!

Whatever, my current solution is:

  • Using @ashmaroli 's patch
    gem "jekyll", github: "jekyll/jekyll", ref: "refs/pull/9248/head"
  • making sure liquid-4.0.4 is present (using bundle install)
  • don’t run gem cleanup (???).

Thus Jekyll 4.3.1 runs fine again. Surely a step forward…