MAC OS 下安装cocoapods安装的错误问题
2015-08-23 13:20
295 查看
错误信息:
ERROR: Could not find a valid gem 'cocoapods' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/latest_specs.4.8.gz)
解决方案:
$gem sources --remove https://rubygems.org/ $gem sources -a https://ruby.taobao.org/
$ gem sources -l
接下来就可以根据cocoapods的官方方法安装了
ERROR: Could not find a valid gem 'cocoapods' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/latest_specs.4.8.gz)
解决方案:
$gem sources --remove https://rubygems.org/ $gem sources -a https://ruby.taobao.org/
$ gem sources -l
接下来就可以根据cocoapods的官方方法安装了
相关文章推荐
- ftrace
- EL表达式总结
- CSS 改变文本选中颜色
- HDU2199Can you solve this equation?
- Maven使用过程中, Could not create local repository at G:\MavenProject\NewRepository
- 干法 读书笔记
- MyEclipse中文乱码问题
- Pascal实用代码模板
- UI设计原则
- Oracle数据的启动与关闭
- TOMCAT的框架结构
- 面向对象方法和结构化方法各自的特点与利弊
- 机器学习:搜索引擎过渡至人工智能
- Permutation Sequence
- 三分 POJ3737
- 如何解决vector 析构函数的异常 opencv Assert _CrtIsValidHeapPointer
- 64位Oracle 11g 使用PL/SQL
- ValueError: invalid literal for int() with base 10: '2.0'
- No Java runtime present, requesting install.
- 关于Myeclipse导入ExtJS出错的问题解决: