End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class method
Gem.find_unresolved_default_spec
find_unresolved_default_spec(path)
lib/rubygems.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.0.5/lib/rubygems.rb, line 1230
def find_unresolved_default_spec(path)
default_spec = @path_to_default_spec_map[path]
return default_spec if default_spec && loaded_specs[default_spec.name] != default_spec
end
Find a Gem::Specification of default gem from path
See also
.find_spec_for_exe
.finish_resolve
.find_latest_files
.host
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.1