3 Matching Annotations
- Apr 2022
-
edgeguides.rubyonrails.org edgeguides.rubyonrails.org
-
Once zeitwerk mode is enabled and the configuration of eager load paths double-checked, please run: bin/rails zeitwerk:check
This is helpful because it allows you to detect/find eager load issues in dev before/without deploying.
I ran into an eager load error after deploying to staging...
-
the last "All is good!" is what you are looking for.
-
To verify the application is running in zeitwerk mode, execute bin/rails runner 'p Rails.autoloaders.zeitwerk_enabled?'
-