在OSX El Capitan上rbenv安装2.2.2构建失败

时间:2015-07-24 06:41:59

标签: ruby macos homebrew rbenv

我试图在El Capitan上安装ruby 2.2.2,但失败了,我收到了消息:

Downloading ruby-2.2.2.tar.gz...
-> http://dqw8nmjcqpjn7.cloudfront.net/5ffc0f317e429e6b29d4a98ac521c3ce65481bfd22a8cf845fa02a7b113d9b44
Installing ruby-2.2.2...

BUILD FAILED (OS X 10.11 using ruby-build 20150719)

Inspect or clean up the working tree at /var/folders/g_/4xc3skhj31g89q7z_czb4rx40000gn/T/ruby-build.20150723233128.20256
Results logged to /var/folders/g_/4xc3skhj31g89q7z_czb4rx40000gn/T/ruby-build.20150723233128.20256.log

Last 10 log lines:
    from /private/var/folders/g_/4xc3skhj31g89q7z_czb4rx40000gn/T/ruby-build.20150723233128.20256/ruby-2.2.2/lib/rubygems/core_ext/kernel_require.rb:54:in `require'
    from /private/var/folders/g_/4xc3skhj31g89q7z_czb4rx40000gn/T/ruby-build.20150723233128.20256/ruby-2.2.2/lib/rubygems.rb:556:in `install'
    from ./tool/rbinstall.rb:722:in `block (2 levels) in <main>'
    from ./tool/rbinstall.rb:721:in `each'
    from ./tool/rbinstall.rb:721:in `block in <main>'
    from ./tool/rbinstall.rb:757:in `call'
    from ./tool/rbinstall.rb:757:in `block in <main>'
    from ./tool/rbinstall.rb:754:in `each'
    from ./tool/rbinstall.rb:754:in `<main>'
make: *** [do-install-all] Error 1

我有自制软件,我将我的xcode更新为xcode beta 7

有谁知道如何解决这个问题?感谢

1 个答案:

答案 0 :(得分:0)

我通过使用brew upgrade openssl

升级openssl解决了这个问题