method

pin_gem_source

ruby latest stable - Class: Gem::RequestSet::GemDependencyAPI
pin_gem_source(name, type = :default, source = nil)
private

Pins the gem name to the given source. Adding a gem with the same name from a different source will raise an exception.