Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the Kernel#require patch to avoid warnings #462

Merged
merged 1 commit into from
Dec 14, 2023

Conversation

casperisfine
Copy link
Contributor

Fix: #461

Also neither Rubygems nor Zeitwerk bother decorating Kernel.require, and no-one requires with Kernel.require so likely not worth it, and if anything that offers an escape hatch to bypass Bootsnap.

Fix: #461

Also neither Rubygems nor Zeitwerk bother decorating
`Kernel.require`, and no-one requires with `Kernel.require` so
likely not worth it, and if anything that offers an escape hatch to
bypass Bootsnap.
@casperisfine casperisfine merged commit 8fbb1ce into main Dec 14, 2023
16 checks passed
@casperisfine casperisfine deleted the fix-require-warning branch December 14, 2023 09:57
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.

warning: method redefined; discarding old require
2 participants