我越來越安裝RVM錯誤安裝RVM收到錯誤,我已經安裝了Ruby 2.0.0與釀造的,現在我想在http://www.rvm.io與配置
Error running './configure --prefix=/Users/name/.rvm/rubies/ruby-2.0.0-p0 --with-opt-dir=/usr/local/opt/libyaml:/usr/local/opt/readline:/usr/local/opt/libxml2:/usr/local/opt/libxslt:/usr/local/opt/libksba:/usr/local/opt/openssl:/usr/local/opt/sqlite --disable-install-doc --without-tcl --without-tk --enable-shared',
please read /Users/name/.rvm/log/ruby-2.0.0-p0/configure.log
There has been an error while running configure. Halting the installation.
運行RVM命令這是我的日誌看起來像
[2013-04-10 21:50:21] ./configure
configure: WARNING: unrecognized options: --without-tcl, --without-tk
checking build system type... i386-apple-darwin12.3.0
checking host system type... i386-apple-darwin12.3.0
checking target system type... i386-apple-darwin12.3.0
checking for gcc-4.2... no
checking for clang... no
checking for gcc... no
checking for cc... no
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/Users/name/.rvm/src/ruby-2.0.0-p0':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
我也安裝了Xcode。
通常你使用RVM來安裝ruby,有沒有一個原因是你首先通過自制軟件安裝它? – 2013-04-11 05:07:38
您是否安裝了命令工具? – fmendez 2013-04-11 05:07:43
@DanFairaizl嗯,這是因爲我在紅寶石網站上看到它可以用來安裝mac osx。 – hellomello 2013-04-11 05:08:36