mirror of
https://github.com/ruby/ruby.git
synced 2025-09-17 01:23:57 +02:00
Merge RubyGems-3.4.15 and Bundler-2.4.15
This commit is contained in:
parent
a36c836433
commit
e44e42c303
25 changed files with 190 additions and 106 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue