1
何らかの原因で、RBENV経由でRuby 2.3.0をインストールできません。私はそれがRVMで動作するようになった。さらなる情報を提供する必要があるかどうかを教えてください。rbenv経由でYosemiteに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ええ、私はrvmと一緒に行く前にrbenvしか持っていませんでした。今私は両方を持っており、rvmはうまく動作します。私はなぜrbenvが全く動かなかったのだろうと思っていました。ご意見ありがとうございます。 – lucasbittar