当我在我的gemfile中添加masonry-rails gem并尝试bundle install时,我得到了这个:
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/
我在rubygem检查最后一个版本的砌体,最后一个版本是在2014年... 砖石还在用吗?似乎问题是来自砌体宝石...我从gem文件中删除它后尝试捆绑安装它工作... 任何人都可以帮忙吗?
答案 0 :(得分:0)
所以,首先,试试吧 ping rubygems.org
答案 1 :(得分:0)
答案 2 :(得分:-1)
尝试在Gemfile中将https版本的rubygems更改为http。