diff options
author | David RodrÃguez <[email protected]> | 2025-06-03 14:03:38 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2025-06-05 19:12:46 +0900 |
commit | 970eac1530081e4d56614b4c865fe1c5aae9532b (patch) | |
tree | 7335843b0130e8bfdb75d01912c03bc7ea373218 /process.c | |
parent | e4933e1d93218ff740ea6ac552b309eca03ba5d1 (diff) |
[rubygems/rubygems] Fix git source unlocking for multi-gem repositories like Rails
If you have
```
gem "rails", git: "https://github.com/rails/rails"
```
and then explicitly pin to an older ref, like
```
gem "rails", git: "https://github.com/rails/rails", ref: "https://github.com/rubygems/rubygems/commit/99bacb5aa8e5"
```
Then `bundle install` fails, because locked sources fail to be updated
to use the new source.
This commit fixes the problem by making sure get their source properly
replaced.
https://github.com/rubygems/rubygems/commit/5de8c2e0cf
Diffstat (limited to 'process.c')
0 files changed, 0 insertions, 0 deletions