mac rbenv上ruby 2.1.0的安装错误

时间:2014-08-01 20:36:14

标签: ruby macos rbenv

我是ruby的新手,这是我尝试使用rbenv安装ruby 2.1.0时遇到的错误

rbenv install 2.1.0
Downloading yaml-0.1.6.tar.gz...
-> http://dqw8nmjcqpjn7.cloudfront.net/7da6971b4bd08a986dd2a61353bc422362bd0edcc67d7ebaac68c95f74182749
Installing yaml-0.1.6...

BUILD FAILED

Inspect or clean up the working tree at /var/folders/2_/vvtd73rs7bgbd4jd_qv22r9c0000gn/T/ruby-build.20140801132551.77312
Results logged to /var/folders/2_/vvtd73rs7bgbd4jd_qv22r9c0000gn/T/ruby-build.20140801132551.77312.log

Last 10 log lines:
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 `/var/folders/2_/vvtd73rs7bgbd4jd_qv22r9c0000gn/T/ruby-build.20140801132551.77312/yaml-0.1.6':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details

0 个答案:

没有答案