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 a call to Bootsnap.unload_cache! at the end of config/application.rb and then boot the application. Or, load a rails console and invoke Bootsnap.unload_cache! directly.
Expected behavior
Bootsnap.unload_cache! completes without error.
Actual behavior
Bootsnap.unload_cache! raises NoMethodError: undefined method 'unload_cache!' for Bootsnap:Module
This method is defined as def self.unload_cache! but it should actually just be def unload_cache!.
Uh oh!
There was an error while loading. Please reload this page.
I made sure the issue is in bootsnap
Steps to reproduce
Add a call to
Bootsnap.unload_cache!
at the end of config/application.rb and then boot the application. Or, load a rails console and invokeBootsnap.unload_cache!
directly.Expected behavior
Bootsnap.unload_cache!
completes without error.Actual behavior
Bootsnap.unload_cache!
raisesNoMethodError: undefined method 'unload_cache!' for Bootsnap:Module
This method is defined as
def self.unload_cache!
but it should actually just bedef unload_cache!
.Secondary issue:
Bootsnap::LoadPathCache.unload!
raises:because this line tries to undo an alias that is no longer present since fb857fe#diff-78b49fe34f2d25dcdd453feb3cb2f6caa094bbf1d3ad96f12f8da7d5183bd854
System configuration
Bootsnap version:
0.13.0
Ruby version:
3.1.2
Rails version:
7.0.3.1
The text was updated successfully, but these errors were encountered: