From 26888d5e032202328e10881550477fd036c8e805 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Thu, 15 Apr 2021 18:07:23 +0900 Subject: [PATCH] Workaround for installation failures on macOS --- tool/rbinstall.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb index 663717aa74..66686ebbc5 100755 --- a/tool/rbinstall.rb +++ b/tool/rbinstall.rb @@ -3,6 +3,8 @@ # Used by the "make install" target to install Ruby. # See common.mk for more details. +ENV["SDKROOT"] ||= "" if /darwin/ =~ RUBY_PLATFORM + begin load "./rbconfig.rb" rescue LoadError