Commit ce03cfc
fix: Use destination_root for Gemfile path in generator
Fix shakapacker detection by using destination_root for the Gemfile path
instead of just "Gemfile". This ensures we check the correct Gemfile in
the target Rails app, not the gem's directory.
This prevents the "gem specified twice" error that occurred when Rails
apps already had shakapacker in their Gemfile but our detection failed
to find it.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 81c4cfb commit ce03cfc
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
270 | | - | |
| 270 | + | |
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
| |||
0 commit comments