gemで"ERROR: Could not find a valid gem 'hoge' (>= 0) in any repository"
$ gem install chef --verbose
DL is deprecated, please use Fiddle
HEAD https://api.rubygems.org/latest_specs.4.8.gz
302 Moved Temporarily
HEAD https://s3.amazonaws.com/production.s3.rubygems.org/latest_specs.4.8.gz
200 OK
GET https://api.rubygems.org/latest_specs.4.8.gz
302 Moved Temporarily
GET https://s3.amazonaws.com/production.s3.rubygems.org/latest_specs.4.8.gz
200 OK
HEAD http://production.cf.rubygems.org/latest_specs.4.8.gz
304 Not Modified
HEAD https://api.rubygems.org/specs.4.8.gz
302 Moved Temporarily
HEAD https://s3.amazonaws.com/production.s3.rubygems.org/specs.4.8.gz
200 OK
GET https://api.rubygems.org/specs.4.8.gz
302 Moved Temporarily
GET https://s3.amazonaws.com/production.s3.rubygems.org/specs.4.8.gz
200 OK
HEAD http://production.cf.rubygems.org/specs.4.8.gz
200 OK
GET http://production.cf.rubygems.org/specs.4.8.gz
200 OK
GET https://api.rubygems.org/quick/Marshal.4.8/pry-0.9.12.2.gemspec.rz
302 Moved Temporarily
GET https://tokyo-m.rubygems.org/quick/Marshal.4.8/pry-0.9.12.2.gemspec.rz
200 OK
GET https://api.rubygems.org/quick/Marshal.4.8/pry-0.9.6-i386-mingw32.gemspec.rz
302 Moved Temporarily
GET https://tokyo-m.rubygems.org/quick/Marshal.4.8/pry-0.9.6-i386-mingw32.gemspec.rz
200 OK
GET http://production.cf.rubygems.org/quick/Marshal.4.8/pry-0.9.9.4.gemspec.rz
200 OK
GET http://production.cf.rubygems.org/quick/Marshal.4.8/pry-0.9.12.3.gemspec.rz
200 OK
GET http://production.cf.rubygems.org/quick/Marshal.4.8/pry-0.9.12.3-i386-mswin32.gemspec.rz
200 OK
GET http://production.cf.rubygems.org/quick/Marshal.4.8/pry-0.9.12.3-i386-mingw32.gemspec.rz
200 OK
GET http://production.cf.rubygems.org/quick/Marshal.4.8/pry-0.9.12.4-java.gemspec.rz
200 OK
GET http://production.cf.rubygems.org/quick/Marshal.4.8/pry-0.9.12.4-i386-mingw32.gemspec.rz
200 OK
GET http://production.cf.rubygems.org/quick/Marshal.4.8/pry-0.9.12.4.gemspec.rz
200 OK
GET http://production.cf.rubygems.org/quick/Marshal.4.8/pry-0.9.12.4-i386-mswin32.gemspec.rz
200 OK
GET http://production.cf.rubygems.org/quick/Marshal.4.8/pry-0.9.12.2-i386-mingw32.gemspec.rz
200 OK
GET http://production.cf.rubygems.org/quick/Marshal.4.8/pry-0.9.0.gemspec.rz
200 OK
GET http://production.cf.rubygems.org/quick/Marshal.4.8/pry-0.9.0-i386-mswin32.gemspec.rz
200 OK
原因は、AWSのRoute53(またはAmazsonCloudFront)の障害だったっぽい
自分の環境構築力の低さを嘆いて若干凹んでしまったのですが、なんと2時間後にもっかいやったら成功しました。rubygemsはAmazonCloudFrontで配信されているので本日のAWS障害が原因で通信がうまくてできなかったようです。
あーよかった。
カテゴリ:
Ruby