class ParallelInstaller::SpecInstallation

def dependencies(all_spec_names)

itself and are in the total list.
Represents only the non-development dependencies, the ones that are
def dependencies(all_spec_names)
  @dependencies ||= begin
    deps = all_dependencies.reject {|dep| ignorable_dependency? dep }
    missing = deps.reject {|dep| all_spec_names.include? dep.name }
    if missing.size > 0
      raise Bundler::LockfileError, "Your Gemfile.lock is corrupt. The following #{missing.size > 1 ? "gems are" : "gem is"} missing " \
                          "from the DEPENDENCIES section: '#{missing.map(&:name).join('\' \'')}'"
    end
    deps
  end
end