summaryrefslogtreecommitdiff
path: root/tool/rbinstall.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tool/rbinstall.rb')
-rwxr-xr-xtool/rbinstall.rb2
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