You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add logger as dependency to address warnings against Ruby 3.4.0dev
This commit addresses the `warning: logger was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.`
against Ruby 3.4.0dev
* Steps to reproduce
```ruby
$ ruby -v
ruby 3.4.0dev (2024-10-21T16:48:53Z master 5131fb5dbe) +PRISM [x86_64-linux]
$ bundle exec rake 2>&1 |grep 'warning: logger'
```
* Warnings addressed by this commit:
```
/path/to/sprockets/lib/sprockets/base.rb:4: warning: logger was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
/path/to/sprockets/lib/sprockets/cache/file_store.rb:3: warning: logger was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
/path/to/sprockets/lib/sprockets/cache.rb:2: warning: logger was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
/path/to/sprockets/lib/sprockets/manifest_utils.rb:3: warning: logger was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
/path/to/sprockets/lib/sprockets.rb:5: warning: logger was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
```
* Refer to the following URL for the background of this change:
https://bugs.ruby-lang.org/issues/20309ruby/ruby@d7e558e
0 commit comments