Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork638
Closed
Labels
Description
Summary
Improve thespec/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 thejustin808/shakapacker-9.3.0 branch (commit0993b48).
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