I'm trying to install Ruby v 1.9.3 via RVM, and I get this error when I run the command:
rvm install 1.9.3
error:
ruby-1.9.3-p0 - #extracting ruby-1.9.3-p0 to /Users/shaboy/.rvm/src/ruby-1.9.3-p0
ruby-1.9.3-p0 - #extracted to /Users/shaboy/.rvm/src/ruby-1.9.3-p0
ruby-1.9.3-p0 - #configuring
Error running ' ./configure --prefix=/Users/shaboy/.rvm/rubies/ruby-1.9.3-p0 --enable-shared --disable-
install-doc --with-libyaml --with-opt-dir=/Users/shaboy/.rvm/usr ',
please read /Users/shaboy/.rvm/log/ruby-1.9.3-p0/configure.log
There has been an error while running configure. Halting the installation.
configure.log
[2012-02-12 16:14:10] ./configure --prefix=/Users/shaboy/.rvm/rubies/ruby-1.9.3-p0 --enable-shared --
disable-install-doc --with-libyaml --with-opt-dir=/Users/shaboy/.rvm/usr
configure: WARNING: unrecognized options: --with-libyaml
checking build system type... x86_64-apple-darwin11.2.0
checking host system type... x86_64-apple-darwin11.2.0
checking target system type... x86_64-apple-darwin11.2.0
checking whether the C compiler works... no
configure: error: in `/Users/shaboy/.rvm/src/ruby-1.9.3-p0':
configure: error: C compiler cannot create executables
See `config.log' for more details