Skip to content

Add logger to Gemfile for Ruby 4.0#9920

Merged
jekyllbot merged 1 commit intojekyll:masterfrom
jbourassa:logger-ruby-4
Feb 13, 2026
Merged

Add logger to Gemfile for Ruby 4.0#9920
jekyllbot merged 1 commit intojekyll:masterfrom
jbourassa:logger-ruby-4

Conversation

@jbourassa
Copy link
Copy Markdown
Contributor

This is a 🐛 bug fix. (ish)

Summary

The issue: on Ruby 4.0, jekyll serve fails unless I add logger to the local Gemfile.

The fix: add logger to the gemspec.

Context

Logger is now a bundled gem, which means it must be added to the Gemfile/gemspec. See this part of Ruby 4.0 changelog.

I'm picking the earliest version of Logger available, because we used to rely on the built-in logger which could've been old.

In Ruby 4.0, the logger gem is now a "bundled" gem, meaning it now needs
to be added to gemfiles/gemspec.

I'm picking the earliest version of Logger available, because we used to
rely on the built-in logger which could've been old.
@taketo1113
Copy link
Copy Markdown

taketo1113 commented Jan 24, 2026

This Pull Request fixes #9915.

For reference, there is a similar Pull Request in #9839.

@legionerlegion

This comment was marked as spam.

@parkr
Copy link
Copy Markdown
Member

parkr commented Feb 13, 2026

@jekyllbot: merge +fix

@jekyllbot jekyllbot merged commit 7e79e46 into jekyll:master Feb 13, 2026
1 check passed
jekyllbot added a commit that referenced this pull request Feb 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants