From: Jan Harmsen Date: 2012-02-17T18:05:02+09:00 Subject: [ruby-core:42710] [ruby-trunk - Bug #6043][Open] compile error for 1.9.3-p125 on OS X 10.7.3 with Xcode 4.2.1, gcc not found Issue #6043 has been reported by Jan Harmsen. ---------------------------------------- Bug #6043: compile error for 1.9.3-p125 on OS X 10.7.3 with Xcode 4.2.1, gcc not found https://bugs.ruby-lang.org/issues/6043 Author: Jan Harmsen Status: Open Priority: Normal Assignee: Category: Target version: ruby -v: ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-darwin11.3.0] Configure aborts due to not finding gcc, configure script looks for gcc-4.2 but there is only /usr/bin/gcc /usr/bin/gcc --version i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00) For a successfule compile, param '--with-gcc=clang' needs to be specified: rvm install ruby-1.9.3-p125 --with-gcc=clang will successfully install ruby-1.9.3-p125 -- http://bugs.ruby-lang.org/