1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

bundleやgem installでRuntimeError redirection forbiddenになる

Posted at

gem-srcを使っていたら起きたっぽい
rbenvのpluginで使っていた
gem-src PR #14

エラー例

$ gem install bundler
Fetching: bundler-1.10.6.gem (100%)
ERROR:  While executing gem ... (RuntimeError)
    redirection forbidden: http://rubygems.org/api/v1/gems/bundler.yaml -> https://rubygems.org/api/v1/gems/bundler.yaml

直し方 (rbenvのpluginとしてgit cloneしてた場合)

cd ~/.rbenv/plugins/gem-src
git pull

# 参考
git log -p
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?