Project

General

Profile

Bug #12764 ยป rbinstall-destdir.patch

jeremyevans0 (Jeremy Evans), 06/25/2019 06:05 PM

View differences:

tool/rbinstall.rb
827 827
    spec
828 828
  }
829 829
  gems.compact.sort_by(&:name).each do |gemspec|
830
    old_gemspecs = Dir[File.join(default_spec_dir, "#{gemspec.name}-*.gemspec")]
830
    old_gemspecs = Dir[File.join(with_destdir(default_spec_dir), "#{gemspec.name}-*.gemspec")]
831 831
    if old_gemspecs.size > 0
832 832
      old_gemspecs.each {|spec| FileUtils.rm spec }
833 833
    end
834
-