Skip to content

End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

instance method

Gem::RequestSet::GemDependencyAPI#git_source

git_source(name, &callback)

Defines a custom git source that uses name to expand git repositories for use in gems built from git repositories. You must provide a block that accepts a git repository name for expansion.

See also #git #group #gemspec #load also in 4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.0