Maintenance Ruby 3.3 gets fixes, but no new features. 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.3.0/lib/rubygems.rb, line 1219
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.2 · 3.1 · 3.0