method

ensure_dependency

v2_1_10 - Show latest stable - Class: Gem::Installer
ensure_dependency(spec, dependency)
public

Ensure that the dependency is satisfied by the current installation of gem. If it is not an exception is raised.

spec

Gem::Specification

dependency

Gem::Dependency