Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
Gem.default_gem_load_paths
default_gem_load_paths
lib/rubygems.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/rubygems.rb, line 1327
def default_gem_load_paths
@default_gem_load_paths ||= $LOAD_PATH[load_path_insert_index..-1].map do |lp|
expanded = File.expand_path(lp)
next expanded unless File.exist?(expanded)
File.realpath(expanded)
end
end
No documentation available
See also
.default_ext_dir_for
.default_key_path
.default_exec_format
.default_path
also in
4.1 · 4.0 · 3.3 · 3.2 · 3.1 · 3.0