Merge RubyGems-3.4.15 and Bundler-2.4.15

This commit is contained in:
Hiroshi SHIBATA 2023-07-19 14:14:12 +09:00 committed by nagachika
parent a36c836433
commit e44e42c303
25 changed files with 190 additions and 106 deletions

View file

@ -1,4 +1,7 @@
# frozen_string_literal: true
require_relative "../shellwords"
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
@ -14,8 +17,7 @@ class Gem::Ext::RakeBuilder < Gem::Ext::Builder
rake = ENV["rake"]
if rake
require "shellwords"
rake = rake.shellsplit
rake = Shellwords.split(rake)
else
begin
rake = ruby << "-rrubygems" << Gem.bin_path("rake", "rake")