Skip to content

[Bug]: gem logger was loaded from the standard library #9763

Open
@ffes

Description

@ffes

Operating System

WSL2 on Windows 11

Ruby Version

ruby 3.4.1 (2024-12-25 revision 48d4efcb85) +PRISM [x86_64-linux]

Jekyll Version

jekyll 4.4.1

GitHub Pages Version

No response

Expected Behavior

When I try to get the version of jekyll I expect to see:

$ bundle exec jekyll -v
jekyll 4.4.1

Current Behavior

But there is a warning that the gem logger was loaded from the standard library:

$ bundle exec jekyll -v
/jekyll/_vendor/ruby/3.4.0/gems/jekyll-4.4.1/lib/jekyll.rb:26: warning: logger was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
You can add logger to your Gemfile or gemspec to silence this warning.
jekyll 4.4.1

I have temporary removed all the gems from my Gemfile, but the warning remains. So it doesn't seem to be caused by another gem.
As mentioned in the warning I've added logger to the Gemfile to silence the warning.

Relevant log output

Code Sample

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    has-pull-requestSomebody suggested a solution to fix this issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions