End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::Ext::CargoBuilder#get_relative_path
get_relative_path(path, base)
lib/rubygems/ext/cargo_builder.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/rubygems/ext/cargo_builder.rb, line 300
def get_relative_path(path, base)
path[0..base.length - 1] = "." if path.start_with?(base)
path
end
No documentation available
See also
#finalize_directory
#ldflag_to_link_modifier
#final_extension_path
#libruby_args
also in
3.1