End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::BasicSpecification#source_paths
source_paths
lib/rubygems/basic_specification.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.0.5/lib/rubygems/basic_specification.rb, line 256
def source_paths
paths = raw_require_paths.dup
if have_extensions?
ext_dirs = extensions.map do |extension|
extension.split(File::SEPARATOR, 2).first
end.uniq
paths.concat ext_dirs
end
paths.uniq
end
Returns the paths to the source files for use with analysis and documentation tools. These paths are relative to full_gem_path.