From 5450b409fc917327373adb573bc5df5948f4202c Mon Sep 17 00:00:00 2001 From: David Rodríguez Date: Tue, 14 Jun 2022 16:47:55 +0200 Subject: [rubygems/rubygems] Remove part of comment that fell out of date https://github.com/rubygems/rubygems/commit/272ac23aa8 --- lib/rubygems/ext/cargo_builder.rb | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'lib/rubygems/ext/cargo_builder.rb') diff --git a/lib/rubygems/ext/cargo_builder.rb b/lib/rubygems/ext/cargo_builder.rb index a08830319d..3a744c5612 100644 --- a/lib/rubygems/ext/cargo_builder.rb +++ b/lib/rubygems/ext/cargo_builder.rb @@ -253,14 +253,9 @@ class Gem::Ext::CargoBuilder < Gem::Ext::Builder tmp_dest = Dir.mktmpdir(".gem.", extension_dir) # Some versions of `mktmpdir` return absolute paths, which will break make - # if the paths contain spaces. However, on Ruby 1.9.x on Windows, relative - # paths cause all C extension builds to fail. + # if the paths contain spaces. # - # As such, we convert to a relative path unless we are using Ruby 1.9.x on - # Windows. This means that when using Ruby 1.9.x on Windows, paths with - # spaces do not work. - # - # Details: https://github.com/rubygems/rubygems/issues/977#issuecomment-171544940 + # As such, we convert to a relative path. tmp_dest_relative = get_relative_path(tmp_dest.clone, extension_dir) full_tmp_dest = File.join(extension_dir, tmp_dest_relative) -- cgit v1.2.3