End of Life Ruby 3.2 has reached end of life and gets no more fixes. 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.2.0/lib/rubygems/basic_specification.rb, line 290
def lib_dirs_glob
dirs = if self.raw_require_paths
if self.raw_require_paths.size > 1
"{#{self.raw_require_paths.join(',')}}"
else
self.raw_require_paths.first
end
else
"lib" # default value for require_paths for bundler/inline
end
"#{self.full_gem_path}/#{dirs}".dup.tap(&Gem::UNTAINT)
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.3 · 3.1 · 3.0