Commit cfff539
Add Zeitwerk ignore for app/hyperstack/components in railtie
Components are Opal/client-side code compiled by Sprockets and should
never be eager-loaded or autoloaded server-side. Without this, apps with
eager_load=true (e.g. in CI) fail with NameError because Zeitwerk
alphabetically loads component files before HyperComponent is defined.
The fix belongs in the railtie so all Hyperstack apps get it
automatically rather than requiring a manual workaround in each app's
initializer.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 0a16df4 commit cfff539
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
83 | 91 | | |
84 | 92 | | |
85 | 93 | | |
| |||
0 commit comments