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