latex3.github.io icon indicating copy to clipboard operation
latex3.github.io copied to clipboard

Upgrade to Jekyll 4.3.3

Open muzimuzhi opened this issue 1 year ago • 3 comments

I got an error when running bundle exec jekyll build:

/usr/local/Cellar/ruby/3.3.0/lib/ruby/3.3.0/logger.rb:384:in `level': undefined method `[]' for nil (NoMethodError)

    @level_override[Fiber.current] || @level
                   ^^^^^^^^^^^^^^^
	from /usr/local/lib/ruby/gems/3.3.0/gems/jekyll-4.2.1/lib/jekyll/log_adapter.rb:45:in `adjust_verbosity'
	from /usr/local/lib/ruby/gems/3.3.0/gems/jekyll-4.2.1/lib/jekyll/commands/build.rb:27:in `process'
	from /usr/local/lib/ruby/gems/3.3.0/gems/jekyll-4.2.1/lib/jekyll/command.rb:91:in `block in process_with_graceful_fail'
        ......

According to this discussion, upgrading to Jekyll v4.3.3 resolves the backward compatibility issues in the Logger.

This PR is the result of running bundle update followed by bundle exec jekyll build.

muzimuzhi avatar Apr 17 '24 14:04 muzimuzhi

given that my setup doesn't have this error, I'm not really keen changing it at the moment as I remember altering the jekyll version can result in a lot of headache for which I right not don't have the time.

FrankMittelbach avatar Apr 17 '24 15:04 FrankMittelbach

Which version of Ruby are you using?

muzimuzhi avatar Apr 17 '24 17:04 muzimuzhi

ruby 3.0.3p157 . As I said I don't really like to touch this any time soon unless I must, because I don't have the time to chaise all the dependencies and I know from past experiences it is like that. Right now it is more important for me to be able to regen the site with ease.

FrankMittelbach avatar Apr 17 '24 17:04 FrankMittelbach