Project

General

Profile

« Previous | Next » 

Revision 3fd33590

Added by deivid (David Rodríguez) over 2 years ago

[rubygems/rubygems] Fix crash when lockfile is missing dependencies

We have a check for a corrupt lockfile right before installing. However,
the check accounted for locked specs not satisfying locked dependencies,
but not for locked specs missing for some locked dependencies.

Instead of fixing this check, I decided to remove it in favor of
automatically detecting the situation and re-resolve to automatically
fix the lockfile rather than printing a warning but leave the problem
there.

https://github.com/rubygems/rubygems/commit/4a7a584252