Commit c749985
fix: Auto-remove default gem files to prevent installer conflicts
Automatically detect and remove default bin/dev (Rails) and
config/shakapacker.yml (Shakapacker) files before running the React on
Rails installer. This prevents interactive conflict prompts that would
interrupt the installation process.
The installer now:
- Checks if bin/dev matches the Rails default and removes it if so
- Checks if config/shakapacker.yml matches Shakapacker default and removes it
- Only removes files that exactly match gem defaults (safe deletion)
- Provides user feedback when removing files
This ensures a smooth, non-interactive installation experience while
preserving any customized versions of these files.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 7bce94a commit c749985
1 file changed
+48
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
66 | 67 | | |
67 | 68 | | |
68 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
69 | 117 | | |
70 | 118 | | |
71 | 119 | | |
| |||
0 commit comments