Skip to content

Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →

instance method

Gem::RequestSet::GemDependencyAPI#pin_gem_source

pin_gem_source(name, type = :default, source = nil)

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

See also #load #platform #group #platforms also in 4.1 · 4.0 · 3.4 · 3.2 · 3.1 · 3.0