Skip to content

Conversation

@y-yagi
Copy link
Contributor

@y-yagi y-yagi commented May 25, 2025

logger will be a bundled gem from Ruby 3.5.
https://bugs.ruby-lang.org/issues/20309

So if we use logger as the standard library, Bundler shows the following warning.

$ bundle exec rbwasm build -o ruby.wasm
/3.4.1/lib/ruby/gems/3.4.0/gems/ruby_wasm-2.7.1-x86_64-linux/lib/ruby_wasm.rb:1: warning: logger was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.

This PR adds the logger to runtime dependency to fix the warning.

`logger` will be a bundled gem from Ruby 3.5.
https://bugs.ruby-lang.org/issues/20309

So if we use `logger` as the standard library, Bundler shows the
following warning.

```
$ bundle exec rbwasm build -o ruby.wasm
/3.4.1/lib/ruby/gems/3.4.0/gems/ruby_wasm-2.7.1-x86_64-linux/lib/ruby_wasm.rb:1: warning: logger was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
```

This PR adds the `logger` to runtime dependency to fix the warning.
Copy link
Member

@kateinoigakukun kateinoigakukun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 🙏

@kateinoigakukun kateinoigakukun merged commit 1657e78 into ruby:main May 25, 2025
34 checks passed
@y-yagi y-yagi deleted the add_logger_as_dependency branch May 25, 2025 01:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants