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