我正在尝试安装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并安装了它。
https://stackoverflow.com/questions/8139138
复制相似问题