博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Could not fetch specs from https://rubygems.org/
阅读量:4256 次
发布时间:2019-05-26

本文共 1763 字,大约阅读时间需要 5 分钟。

[root@t1 redmine]# bundle install --without development test rmagick

Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all
non-root users on this machine.
Fetching source index from https://rubygems.org/
Network error while fetching https://rubygems.global.ssl.fastly.net/quick/Marshal.4.8/rails-3.2.21.gemspec.rz
[root@t1 redmine]# bundle install --without development test rmagick
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all
non-root users on this machine.
Fetching source index from https://rubygems.org/
Retrying fetcher due to error (2/4): Bundler::HTTPError Could not fetch specs from https://rubygems.org/
Network error while fetching https://rubygems.global.ssl.fastly.net/quick/Marshal.4.8/rails-3.2.21.gemspec.rz
[root@t1 redmine]# pwd
/data/wwwroot/redmine
[root@t1 redmine]# bundle install --without development test rmagick
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all
non-root users on this machine.
Fetching source index from https://rubygems.org/
Retrying fetcher due to error (2/4): Bundler::HTTPError Could not fetch specs from https://rubygems.org/
Retrying fetcher due to error (3/4): Bundler::HTTPError Could not fetch specs from https://rubygems.org/
Retrying fetcher due to error (4/4): Bundler::HTTPError Could not fetch specs from https://rubygems.org/

Could not fetch specs from https://rubygems.org/

解决:

[root@t1 redmine]# vim /data/wwwroot/redmine/Gemfile 

Gemfile 里,第一个

1
source 
'https://rubygems.org/'  #添加 #号 下一行 添加如下:

改成

1
source 
'https://ruby.taobao.org/'

转载地址:http://unsei.baihongyu.com/

你可能感兴趣的文章
AES加密
查看>>
使用Github进行合作开发
查看>>
Hadoop常用命令
查看>>
Impala入门笔记(转载)
查看>>
大数据分析:机器学习算法实现的演化
查看>>
自学大数据:用以生产环境的Hadoop版本比较
查看>>
Cloudera Manager和Managed Service的数据库
查看>>
cloudera Manager中监控数据的存储
查看>>
Kafka简要介绍
查看>>
Maven环境的搭建
查看>>
hbase 学习梳理
查看>>
浅谈医学大数据(中)
查看>>
阿里巴巴数据产品经理工作总结
查看>>
大数据的特点及作用
查看>>
IBM朱辉:大数据分析的5个高复制使用场景及案例分享(含PPT)
查看>>
“医学数据银行”——临床大数据科研协作平台
查看>>
人工智能、机器学习、统计学、数据挖掘之间有什么区别?
查看>>
大数据架构师基础:hadoop家族,Cloudera系列产品介绍
查看>>
Java返回对象快捷键
查看>>
Hadoop web页面的授权设定
查看>>