$gem install bundler --version 1.3.0 --verbosehead http://rubygems.org/specs.4.8.gz302 Moved Temporarilyhead http://production.s3.rubygems.org/specs.4.8.gz304 Not ModifIEdERROR: Could not find a valID gem 'bundler' (= 1.3.0) in any repositoryhead http://rubygems.org/prerelease_specs.4.8.gz302 Moved Temporarilyhead http://production.s3.rubygems.org/prerelease_specs.4.8.gz304 Not ModifIEdERROR: Possible alternatives: bundler$gem install bundler --version 1.3.0 --clear-sources --source http://rubygems.org --verbosehead http://rubygems.org/specs.4.8.gz302 Moved Temporarilyhead http://production.s3.rubygems.org/specs.4.8.gz304 Not ModifIEdERROR: Could not find a valID gem 'bundler' (= 1.3.0) in any repositoryhead http://rubygems.org/prerelease_specs.4.8.gz302 Moved Temporarilyhead http://production.s3.rubygems.org/prerelease_specs.4.8.gz304 Not ModifIEdERROR: Possible alternatives: bundler$gem install bundler --verbosehead http://rubygems.org/latest_specs.4.8.gz302 Moved Temporarilyhead http://production.s3.rubygems.org/latest_specs.4.8.gz304 Not ModifIEdInstalling 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/bundleSuccessfully installed bundler-1.2.4Parsing documentation for bundler-1.2.4Parsing sources...100% [100/100] lib/bundler/vlad.rb Done installing documentation for bundler (2 sec).1 gem installed
我如何告诉rubygems查看规范的存储库,而不是过时的镜像?
解决方法 我从 rubygems.org下载了 gem file,并使用gem install path / to / gem / file安装了它.有人说他们是通过gem install bundler –pre安装的,但是我没试过.
总结以上是内存溢出为你收集整理的ruby – 避免镜子安装新发布的宝石全部内容,希望文章能够帮你解决ruby – 避免镜子安装新发布的宝石所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)