【问题标题】:Error for macos sierra install cocoapodsmacos sierra 安装 cocoapods 时出错
【发布时间】:2016-09-27 10:50:08
【问题描述】:

当我安装ma​​c os sierra时,尝试安装cocoapods,但出现错误:

错误:执行 gem 时...(Gem::Exception) 无法要求 openssl,安装 OpenSSL 并重建 ruby​​(首选)或使用非 HTTPS 源

但是我已经安装了opensslruby,我真的不知道是为什么,有人知道吗?

【问题讨论】:

标签: macos rubygems


【解决方案1】:

通过以下 3 个命令安装 Cocoapods

sudo gem update --system -n/usr/local/bin
sudo gem install -n /usr/local/bin cocoapods
pod setup

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2017-06-16
    • 2020-07-15
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-03-30
    • 2013-11-13
    相关资源
    最近更新 更多