Как установить Ruby 1.9.3 в Mac OS X Lion?

Я пытаюсь установить Ruby 1.9. 3, но у меня проблемы. Я установил RVM, затем набрал:

rvm install 1.9.3

Результат говорит:

ERROR: Error running ' ./configure....

В журнале написано:

configure: WARNING: unrecognized options: --with-libyaml-dir 
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/myuser/.rvm/src/ruby-1.9.3-p0':
configure: error: C compiler cannot create executables See `config.log' for more details

Я загрузил новый XCode из App Store и установил его.

56
задан the Tin Man 26 December 2012 в 17:21
поделиться