Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Gem::BasicSpecification#lib_dirs_glob
lib_dirs_glob
lib/rubygems/basic_specification.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/rubygems/basic_specification.rb, line 291
def lib_dirs_glob
dirs = if raw_require_paths
if raw_require_paths.size > 1
"{#{raw_require_paths.join(",")}}"
else
raw_require_paths.first
end
else
"lib" # default value for require_paths for bundler/inline
end
"#{full_gem_path}/#{dirs}"
end
Returns a string usable in Dir.glob to match all requirable paths for this spec.
See also
#have_file?
#matches_for_glob
#have_extensions?
#name
also in
4.1 · 4.0 · 3.4 · 3.2 · 3.1 · 3.0