From a06aa7f321019b85e5a0a86738197d767f2c3b4e Mon Sep 17 00:00:00 2001 From: "Wayne E. Seguin" Date: Mon, 25 Jul 2011 10:16:07 -0400 Subject: [PATCH] export CC="/usr/bin/gcc-4.2" if darwin11 --- scripts/functions/manage/base | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/functions/manage/base b/scripts/functions/manage/base index 6a79031184..38c02f4082 100644 --- a/scripts/functions/manage/base +++ b/scripts/functions/manage/base @@ -124,6 +124,13 @@ __rvm_install_source() fi case ${rvm_ruby_string:-""} in + ruby-1.8*|ree*) + case "${OSTYPE}" in + darwin11) + export CC="/usr/bin/gcc-4.2" + ;; + esac + ;; ruby-head|1.9.*-head) if ! __rvm_ensure_has_18_compat_ruby then