Shopify / bootsnap

Boot large Ruby/Rails apps faster
MIT License
2.68k stars 183 forks source link

Improve the `Kernel#require` patch to avoid warnings #462

Closed casperisfine closed 11 months ago

casperisfine commented 11 months ago

Fix: https://github.com/Shopify/bootsnap/issues/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.