class Bundler::Installer
def ready_to_install?(spec, remains)
If the dependency is no longer in the `remains` hash then it has been met.
We only want to install a gem spec if all its dependencies are met.
def ready_to_install?(spec, remains) spec.dependencies.none? do |dep| next if dep.type == :development || dep.name == spec.name remains[dep.name] end end