gem install Unable to download data from https://rubygems.org/
2015-12-04 15:45
696 查看
problem:
root@gitlab:~# gem install bundler --no-ri --no-rdoc
ERROR: Could not find a valid gem 'bundler' (>= 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)
solution: used --source option to specify the http protocol not https.
root@gitlab:~# gem install bundler --no-ri --no-rdoc --source http://rubygems.org Fetching: bundler-1.10.6.gem (100%)
Successfully installed bundler-1.10.6
WARNING: Unable to pull data from 'https://rubygems.org/': Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/latest_specs.4.8.gz)
1 gem installed
root@gitlab:~#
root@gitlab:~# gem install bundler --no-ri --no-rdoc
ERROR: Could not find a valid gem 'bundler' (>= 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)
solution: used --source option to specify the http protocol not https.
root@gitlab:~# gem install bundler --no-ri --no-rdoc --source http://rubygems.org Fetching: bundler-1.10.6.gem (100%)
Successfully installed bundler-1.10.6
WARNING: Unable to pull data from 'https://rubygems.org/': Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/latest_specs.4.8.gz)
1 gem installed
root@gitlab:~#
相关文章推荐
- 从源码安装Mysql/Percona 5.5
- Varnish Install And Configure
- ruby安装gem包失败的通用解决方法
- 安装软件 Nullsoft Install System 2.27汉化版 下载
- node.js使用npm 安装插件时提示install Error: ENOENT报错的解决方法
- Ruby包管理器gem常用命令
- 学习Ruby你需要了解的相关知识(rvm, gem, bundle, rake, rails等)
- Ruby学习笔记之gem 命令详解
- Rails bundle命令安装mysql gem包出错的解决方法
- linux下安装easy_install的方法
- nodejs npm install全局安装和本地安装的区别
- Maven intall OR Maven build
- OSX El Capitan node-5.0.0下sudo npm install遇到的权限问题
- Linux中安装MySQL 2.8.1 gem
- 细说Ruby工程的Bundle以及如何加快bundle install
- mac 源码安装Openssl
- HowTo: Bind10 resolver @ Fedora 19
- 设置 git/npm/bower/gem 镜像或代理的方法
- rails gem列表大全及介绍
- ppm:Install area 'soft' does not exist