Skip to content

Conversation

@Earlopain
Copy link
Contributor

@Earlopain Earlopain commented Sep 4, 2024

[Bug #20714]

Imagine the the second require 'base64' originates from a different gem. This should still warn, the library that does $VERBOSE = nil before the require is already prepared.

With this patch, the following will be printed where previously there was no output at all:

test_warn_bundle_exec_optional_dependency.rb:9: warning: base64 was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.4.0.
You can add base64 to your Gemfile or gemspec to silence this warning.

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.

3 participants