【问题标题】:rbenv install 2.2.2 build failed on OSX El Capitanrbenv install 2.2.2 build 在 OSX El Capitan 上失败
【发布时间】:2015-07-24 06:41:58
【问题描述】:

我正在尝试在 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

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

【问题讨论】:

  • 检查是否安装了命令行工具。
  • @RMilushev 我想我会这样做,当我在终端中输入“xcode-select --install”时,我收到以下消息:xcode-select: error: command line tools are already installed, use "Software更新”以安装更新
  • @RMilushev 我也更新了命令行工具,目前没有可用的更新

标签: ruby macos homebrew rbenv


【解决方案1】:

我通过使用brew upgrade openssl升级openssl解决了这个问题

【讨论】:

    猜你喜欢
    • 2016-01-17
    • 2016-12-12
    • 2016-09-14
    • 1970-01-01
    • 2016-05-08
    • 2016-10-29
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多