Commit d9ccf28
Validate only explicitly requested gems against the lockfile
explicit_gems aliased the same array that the --group handling mutates
with concat, so group-derived gems leaked into the lockfile presence
check and bundle update --group failed on gems newly added to the
group. Copy the array before it gets mutated.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 781b37b commit d9ccf28
2 files changed
Lines changed: 18 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
744 | 744 | | |
745 | 745 | | |
746 | 746 | | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
747 | 764 | | |
748 | 765 | | |
749 | 766 | | |
| |||
0 commit comments