discourse/config/environments
David Taylor 150a6601c0
DEV: Check Zeitwerk eager loading in GitHub CI (#20699)
In production, `eager_load=true`. This sometimes leads to boot errors which are not present in dev/test environments. Running `zeitwerk:check` in CI will help us to pick up on any errors early.

This commit also introduces a `DISCOURSE_ZEITWERK_EAGER_LOAD` environment variable to make it easier to toggle the behaviour when developing locally.
2023-03-16 14:22:16 +00:00
..
development.rb DEV: Check Zeitwerk eager loading in GitHub CI (#20699) 2023-03-16 14:22:16 +00:00
production.rb FEATURE: log to STDOUT using Rails 5 env var (#18880) 2023-03-01 07:06:14 +08:00
profile.rb DEV: Apply syntax_tree formatting to `config/*` 2023-01-09 11:13:29 +00:00
test.rb DEV: Check Zeitwerk eager loading in GitHub CI (#20699) 2023-03-16 14:22:16 +00:00