If I type xcodebuild -version , it recognizes that I have xcode installed:
Xcode 4.3.2 Build version 4E2002
But then when I try to check the rvm requirements , I get the following:
Notes for Mac OS X 10.7.3, No Xcode. For JRuby: Install the JDK. See http://developer.apple.com/java/download/
It doesn't seem to recognize my xcode, and when I try to install rvm 1.9.3 , I get:
Fetching yaml-0.1.4.tar.gz to /Users/sikandarshukla/.rvm/archives Extracting yaml-0.1.4.tar.gz to /Users/sikandarshukla/.rvm/src Configuring yaml in /Users/sikandarshukla/.rvm/src/yaml-0.1.4. Error running ' ./configure --prefix="/Users/sikandarshukla/.rvm/usr" ', please read /Users/sikandarshukla/.rvm/log/ruby-1.9.3-p125/yaml/configure.log Compiling yaml in /Users/sikandarshukla/.rvm/src/yaml-0.1.4. Error running 'make ', please read /Users/sikandarshukla/.rvm/log/ruby-1.9.3- p125/yaml/make.log Database file /Users/sikandarshukla/.rvm/config/packages does not exist. /Users/sikandarshukla/.rvm/scripts/functions/build: line 28: --version: command not found Installing Ruby from source to: /Users/sikandarshukla/.rvm/rubies/ruby-1.9.3-p125, this may take a while depending on your cpu(s)... ruby-1.9.3-p125 -
Now, if I read the log, the output of cat / Users / sikandarshukla / .rvm / log / ruby-1.9.3-p125 / configure.log is as follows:
./configure --prefix=/Users/sikandarshukla/.rvm/rubies/ruby-1.9.3-p125 --enable-shared -- disable-install-doc --with-libyaml --with-opt-dir=/Users/sikandarshukla/.rvm/usr configure: WARNING: unrecognized options: --with-libyaml checking build system type... i386-apple-darwin11.3.0 checking host system type... i386-apple-darwin11.3.0 checking target system type... i386-apple-darwin11.3.0 checking whether the C compiler works... no configure: error: in `/Users/sikandarshukla/.rvm/src/ruby-1.9.3-p125': configure: error: C compiler cannot create executables See `config.log' for more details
and the output of cat / Users / sikandarshukla / .rvm / log / ruby-1.9.3-p125 / yaml / configure.log is as follows:
./configure --prefix="/Users/sikandarshukla/.rvm/usr" checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... config/install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... no checking for gcc... no checking for cc... no checking for cl.exe... no configure: error: in `/Users/sikandarshukla/.rvm/src/yaml-0.1.4': configure: error: no acceptable C compiler found in $PATH See `config.log' for more details
Any ideas what to do, thanks for your help