-
-
Notifications
You must be signed in to change notification settings - Fork 638
Closed
Labels
Description
Summary
Improve the spec/dummy/bin/shakapacker-precompile-hook script to properly locate the Rails root directory in various execution contexts.
Details
The current precompile hook may fail to locate the Rails root when run from different directories or contexts. This fix makes the hook more robust by adding better directory detection logic.
Related Branch
This fix was identified in the justin808/shakapacker-9.3.0 branch (commit 0993b48).
Impact
- Makes the precompile hook more robust
- Prevents failures when run from different contexts
- Improves developer experience during deployment
Files Changed
spec/dummy/bin/shakapacker-precompile-hook(25 lines added, 2 lines removed)
Labels
- Enhancement
- Deployment
coderabbitai