Skip to content

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

instance method

Gem::SpecFetcher#suggest_gems_from_name

suggest_gems_from_name(gem_name, type = :latest, num_results = 5)

Suggests gems based on the supplied gem_name. Returns an array of alternative gem names.

See also #spec_for_dependency #search_for_dependency also in 4.1 · 4.0 · 3.4 · 3.3 · 3.1 · 3.0