Revert "DependencyResolver doesn't use Gem::Specification"

This reverts commit 5450015f0efdde0b2ddeddf2a7684caff7a63882.