提供Net :: HTTPServerException的捆绑安装:403“禁止访问”

问题描述 投票:3回答:2

[任何人都不会收到此错误,rubygems.org已经启动,当我下载单个gem时就可以了。

bundle install
Fetching gem metadata from https://rubygems.org/........
Fetching gem metadata from https://rubygems.org/..
Using rake (0.9.2)

Net::HTTPServerException: 403 "Forbidden"
An error occurred while installing i18n (0.6.1), and Bundler cannot continue.
Make sure that `gem install i18n -v '0.6.1'` succeeds before bundling.

有任何线索吗?

ruby ruby-on-rails-3 rubygems bundler
2个回答
6
投票
http代替

https应该可以解决问题。

用途:

http://rubygems.org


0
投票
https_proxy = http://moeez.hussain:******** @ 172。

:80http_proxy = http://moeez.hussain:******** @ 172。:80

© www.soinside.com 2019 - 2024. All rights reserved.