Commit 6d4f577
committed
Don't commit .bundle or vendor/bundle into update branches
\`git add -A\` was staging bundler files that \`ruby/setup-ruby\` writes
into the workspace (.bundle/config, vendor/bundle/). These got
committed into the first importmap branch. On the next checkout back
to origin/main, git deleted them — and with the bundle path config and
cached gems gone, subsequent \`bin/importmap pin\` calls failed with
"Could not find gems".
Unstaging both paths after \`git add -A\` keeps the commits clean and
leaves bundler's environment intact across branch switches.1 parent ce75bf9 commit 6d4f577
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
0 commit comments