1
由於某些原因,我無法通過RBENV安裝ruby 2.3.0。儘管如此,我仍然可以與RVM一起工作。讓我知道是否需要提供更多信息。通過rbenv在優勝美地上安裝Ruby 2.3.0時出錯
這是我得到的錯誤:
Downloading ruby-2.3.0.tar.bz2...
-> https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.0.tar.bz2
Installing ruby-2.3.0...
BUILD FAILED (OS X 10.10.5 using ruby-build 20160426)
Inspect or clean up the working tree at /tmp/ruby-build.20160426211028.6622
Results logged to /tmp/ruby-build.20160426211028.6622.log
Last 10 log lines:
config.guess already exists
config.sub already exists
checking build system type... x86_64-apple-darwin14.5.0
checking host system type... x86_64-apple-darwin14.5.0
checking target system type... x86_64-apple-darwin14.5.0
checking whether the C compiler works... no
configure: error: in `/tmp/ruby-build.20160426211028.6622/ruby-2.3.0':
configure: error: C compiler cannot create executables
See `config.log' for more details
make: *** No targets specified and no makefile found. Stop.
你有OSX的生成工具安裝? –
您是否在嘗試使用rvm時卸載rbenv,反之亦然?如果沒有,你應該,因爲這些工具是互不兼容的。 – MarsAtomic
@MarsAtomic是的,我只有rbenv才決定去rvm。現在我有兩個和rvm工作正常。我想知道爲什麼rbenv根本不工作。謝謝你的評論。 – lucasbittar