diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-04-15 18:07:23 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-04-15 18:07:23 +0900 |
commit | 26888d5e032202328e10881550477fd036c8e805 (patch) | |
tree | c552c889f251c81690945ce240c99e3f6ce7bb3a /tool/rbinstall.rb | |
parent | 7af7a539bc34fa630ab4dfd178d67cfebbc8699f (diff) | |
download | ruby-26888d5e032202328e10881550477fd036c8e805.tar.gz |
Workaround for installation failures on macOS
Diffstat (limited to 'tool/rbinstall.rb')
-rwxr-xr-x | tool/rbinstall.rb | 2 |
1 files changed, 2 insertions, 0 deletions
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 |