Commit 370f1c8
Fix doctor rake task LoadError with excluded task_helpers
The doctor.rake task was trying to require "../../rakelib/task_helpers"
but the rakelib directory is excluded from gem packaging in the gemspec.
This caused LoadError when using the packaged gem.
Changes:
- Remove require_relative "../../rakelib/task_helpers" from doctor.rake
- Remove include ReactOnRails::TaskHelpers (unused in the task)
- Add test to ensure rake file loads without missing dependencies
The doctor task functionality is preserved and works correctly without
the excluded TaskHelpers module.
Fixes the issue introduced in commit 27dba50 where doctor.rake was added
with a reference to the excluded rakelib directory.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>1 parent dcca723 commit 370f1c8
File tree
2 files changed
+6
-2
lines changed- lib/tasks
- spec/lib/react_on_rails
2 files changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
| |||
38 | 37 | | |
39 | 38 | | |
40 | 39 | | |
41 | | - | |
42 | 40 | | |
43 | 41 | | |
44 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
19 | 25 | | |
20 | 26 | | |
21 | 27 | | |
| |||
0 commit comments