Bundler 1.3.0 刚刚发布(目前只有 10 人安装),但我只能安装一个 pre 版本,或者以前的版本。
$ gem install bundler --version 1.3.0 --verbose
HEAD http://rubygems.org/specs.4.8.gz
302 Moved Temporarily
HEAD http://production.s3.rubygems.org/specs.4.8.gz
304 Not Modified
ERROR: Could not find a valid gem 'bundler' (= 1.3.0) in any repository
HEAD http://rubygems.org/prerelease_specs.4.8.gz
302 Moved Temporarily
HEAD http://production.s3.rubygems.org/prerelease_specs.4.8.gz
304 Not Modified
ERROR: Possible alternatives: bundler
$ gem install bundler --version 1.3.0 --clear-sources --source http://rubygems.org --verbose
HEAD http://rubygems.org/specs.4.8.gz
302 Moved Temporarily
HEAD http://production.s3.rubygems.org/specs.4.8.gz
304 Not Modified
ERROR: Could not find a valid gem 'bundler' (= 1.3.0) in any repository
HEAD http://rubygems.org/prerelease_specs.4.8.gz
302 Moved Temporarily
HEAD http://production.s3.rubygems.org/prerelease_specs.4.8.gz
304 Not Modified
ERROR: Possible alternatives: bundler
$ gem install bundler --verbose
HEAD http://rubygems.org/latest_specs.4.8.gz
302 Moved Temporarily
HEAD http://production.s3.rubygems.org/latest_specs.4.8.gz
304 Not Modified
Installing gem bundler-1.2.4
/Users/agrimm/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/bundler-1.2.4/.gitignore
<snip>
/Users/agrimm/.rbenv/versions/2.0.0-p0/bin/bundle
Successfully installed bundler-1.2.4
Parsing documentation for bundler-1.2.4
Parsing sources...
100% [100/100] lib/bundler/vlad.rb
Done installing documentation for bundler (2 sec).
1 gem installed
我如何告诉 rubygems 查看规范的存储库,而不是过时的镜像?