forked from rubygems/rubygems
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto-heal on corrupted lockfile with missing deps
Following up on rubygems#6355, which turned a crash into a nicer error message, this commit auto-heals the corrupt lockfile instead. Since in this particular case (a corrupt Gemfile.lock with missing dependencies) the LazySpecification will not have accurate dependency information, we have to materialize the SpecSet to determine there are missing dependencies. Since we've already got some incomplete-spec-auto-healing here, I've treated this as another brand of incomplete spec.
- Loading branch information
1 parent
75dac08
commit b472eff
Showing
2 changed files
with
30 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters