cocoapod [!] /usr/bin/curl -f -L -o /var/folders/dj/yccslvys6tb53k2vz87djfsh0000gn/T/d20170219-1250
Posted 原码
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了cocoapod [!] /usr/bin/curl -f -L -o /var/folders/dj/yccslvys6tb53k2vz87djfsh0000gn/T/d20170219-1250相关的知识,希望对你有一定的参考价值。
[!] /usr/bin/curl -f -L -o /var/folders/dj/yccslvys6tb53k2vz87djfsh0000gn/T/d20170219-12508-z77a4l/file.zip https://github.com/kylefleming/opencv/releases/download/3.1.0-ios-fix/opencv2.fram 或者 ssl证书问题
参考网址: https://ruby.taobao.org
$ gem sources --add https://gems.ruby-china.org/ --remove https://rubygems.org/
$ gem sources -l
*** CURRENT SOURCES ***
https://gems.ruby-china.org
# 请确保只有 gems.ruby-china.org
$ gem install rails
$ bundle config mirror.https://rubygems.org https://gems.ruby-china.org
****关键:
$ sed -i .bak -E ‘s!https?://cache.ruby-lang.org/pub/ruby!https://ruby.taobao.org/mirrors/ruby!‘ $rvm_path/config/db
以上是关于cocoapod [!] /usr/bin/curl -f -L -o /var/folders/dj/yccslvys6tb53k2vz87djfsh0000gn/T/d20170219-1250的主要内容,如果未能解决你的问题,请参考以下文章
Mac下安装CoCoaPods及使用CoCoaPods管理第3方库