gem update --system

修改完gem sources之后,进行gem update;

gem update --system

之后的输出:

C:\Sites\test01>gem sources -l
*** CURRENT SOURCES *** http://gems.ruby-china.org/ C:\Sites\test01>gem -v
2.5. C:\Sites\test01>gem update --system
Updating rubygems-update
Fetching: rubygems-update-2.6..gem (%)
Successfully installed rubygems-update-2.6.
Parsing documentation for rubygems-update-2.6.
Installing ri documentation for rubygems-update-2.6.
Installing darkfish documentation for rubygems-update-2.6.
Done installing documentation for rubygems-update after seconds
Parsing documentation for rubygems-update-2.6.
Done installing documentation for rubygems-update after seconds
Installing RubyGems 2.6.
RubyGems 2.6. installed
Parsing documentation for rubygems-2.6.
Installing ri documentation for rubygems-2.6. === 2.6. / -- Bug fixes: * Install native extensions in the correct location when using the
`--user-install` flag. Pull request # by Noah Kantrowitz.
* When calling `Gem.sources`, load sources from `configuration`
if present, else use the default sources. Pull request #
by Luis Sagastume.
* Fail gracefully when attempting to redirect without a Location.
Pull request # by Samuel Giddins.
* Update vendored Molinillo to 0.5.. Pull request # by
Samuel Giddins. === 2.6. / -- Bug fixes: * Sort installed versions to make sure we install the latest version when
running `gem update --system`. As a one-time fix, run
`gem update --system=2.6.`. Pull request # by David Radcliffe. === 2.6. / -- Minor enhancements: * Support for unified Integer in Ruby 2.4. Pull request #
by SHIBATA Hiroshi.
* Update vendored Molinillo to 0.5. for performance improvements.
Pull request # by Samuel Giddins. Bug fixes: * Raise an explicit error if Signer#sign is called with no certs. Pull
request # by Daniel Berger.
* Update `update_bundled_ca_certificates` utility script for directory
nesting. Pull request # by James Wen.
* Fix broken symlink support in tar writer (+ fix broken test). Pull
request # by Cezary Baginski.
* Remove extension directory before (re-)installing. Pull request #
by Jeremy Hinegardner.
* Regenerate test CA certificates with appropriate extensions. Pull
request # by rhenium.
* Rubygems does not terminate on failed file lock when not superuser. Pull
request # by Ellen Marie Dash.
* Fix tar headers with a character name. Pull request # by Paweł
Tomulik.
* Add Gem.platform_defaults to allow implementations to override defaults.
Pull request # by Charles Oliver Nutter.
* Run Bundler tests on TravisCI. Pull request # by Samuel Giddins. === 2.6. / -- Minor enhancements: * Use Gem::Util::NULL_DEVICE instead of hard coded strings. Pull request #
by Chris Charabaruk.
* Use File.symlink on MS Windows if supported. Pull request #
by Nobuyoshi Nakada. Bug fixes: * Redact uri password from error output when gem fetch fails. Pull request
# by Brian Fletcher.
* Suppress warnings. Pull request # by Nobuyoshi Nakada.
* Escape user-supplied content served on web pages by `gem server` to avoid
potential XSS vulnerabilities. Samuel Giddins. === 2.6. / -- Minor enhancements: * Lazily calculate Gem::LoadError exception messages. Pull request #
by Aaron Patterson.
* New fastly cert. Pull request # by David Radcliffe.
* Organize and cleanup SSL certs. Pull request # by James Wen.
* [RubyGems] Make deprecation message for paths= more helpful. Pull
request # by Samuel Giddins.
* Show default gems when using "gem list". Pull request # by Luis
Sagastume. Bug fixes: * Stub ordering should be consistent regardless of how cache is populated.
Pull request # by Aaron Patterson.
* Handle cases when the @@stubs variable contains non-stubs. Pull request
# by Per Lundberg.
* Fix test on Windows for inconsistent temp path. Pull request # by
Hiroshi Shirosaki.
* Fix `Gem.find_spec_for_exe` picks oldest gem. Pull request # by
Shinichi Maeshima.
* [Owner] Fallback to email and userid when owner email is missing. Pull
request # by Samuel Giddins.
* [Installer] Handle nil existing executable. Pull request # by Samuel
Giddins.
* Allow two digit version numbers in the tests. Pull request # by unak. === 2.6. / -- Bug fixes: * Fix wrong version of gem activation for bin stub. Pull request # by
Aaron Patterson.
* Speed up gem activation failures. Pull request # by Aaron Patterson.
* Fix platform sorting in the resolver. Pull request # by Samuel E.
Giddins.
* Ensure we unlock the monitor even if try_activate throws. Pull request
# by Charles Oliver Nutter. === 2.6. / -- Bug fixes: * Ensure `default_path` and `home` are set for paths. Pull request #
by Aaron Patterson.
* Restore but deprecate support for Array values on `Gem.paths=`. Pull
request # by Aaron Patterson.
* Fix invalid gem file preventing gem install from working. Pull request
# by Luis Sagastume. === 2.6. / -- Minor enhancements: * RubyGems now defaults the `gem push` to the gem's "allowed_push_host"
metadata setting. Pull request # by Josh Lane.
* Update bundled Molinillo to 0.4.. Pull request # by Samuel E. Giddins.
* Add version option to gem open command. Pull request # by Hrvoje
Šimić.
* Feature/add silent flag. Pull request # by Luis Sagastume.
* Allow specifying gem requirements via env variables. Pull request #
by Samuel E. Giddins. Bug fixes: * RubyGems now stores `gem push` credentials under the host you signed-in for.
Pull request # by Josh Lane.
* Move `coding` location to first line. Pull request # by SHIBATA
Hiroshi.
* [PathSupport] Handle a regexp path separator. Pull request # by
Samuel E. Giddins.
* Clean up the PathSupport object. Pull request # by Aaron Patterson.
* Join with File::PATH_SEPARATOR in Gem.use_paths. Pull request # by
Samuel E. Giddins.
* Handle when the gem home and gem path arent set in the config file. Pull
request # by Samuel E. Giddins.
* Terminate TimeoutHandler. Pull request # by Nobuyoshi Nakada.
* Remove redundant cache. Pull request # by Eileen M. Uchitelle.
* Freeze `Gem::Version@segments` instance variable. Pull request # by
Ben Dean.
* Gem cleanup is trying to uninstall gems outside GEM_HOME and reporting
an error after it tries. Pull request # by Luis Sagastume.
* Avoid duplicated sources. Pull request # by Luis Sagastume.
* Better description for quiet flag. Pull request # by Luis Sagastume.
* Raise error if find_by_name returns with nil. Pull request # by
Zoltán Hegedüs.
* Find_files only from loaded_gems when using gemdeps. Pull request #
by Michal Papis. === 2.5. / -- Bug fixes: * Fix memoization of Gem::Version#prerelease? Pull request # by Matijs van
Zuijlen.
* Handle trailing colons in GEM_PATH, by Damien Robert.
* Improve the Gemfile `gemspec` method, fixing # and #. Pull request
# by Michael Papis.
* Warn only once when a gemspec license is invalid. Pull request # by Samuel E. Giddins.
* Check for exact constants before using them, fixing Ruby bug #. Pull
request # by Nobuyoshi Nakada.
* Fix building C extensions on Ruby 1.9.x on Windows. Pull request # by Mari
e
Markwell.
* Handle symlinks containing ".." correctly. Pull request # by Samuel E.
Giddins. Minor enhancements: * Add `--no-rc` flag, which skips loading `.gemrc`. Pull request # by Luis
Sagastume.
* Allow basic auth to be excluded from `allowed_push_host`. By Josh Lane.
* Add `gem list --exact`, which finds gems by string match instead of regex. Pul
l
request # by Luis Sagastume.
* Suggest alternatives when gem license is unknown. Pull request # by Samuel E. Giddins.
* Print a useful error if a binstub expects a newer version of a gem than is
installed. Pull request # by Samuel E. Giddins.
* Allow the (supported) s3:// scheme to be used with `--source`. Pull request
# by Dave Adams.
* Add `--[no-]post-install-message` to `install` and `update`. Pull request # by Josef Šimánek.
* Add `--host` option to `yank`, providing symmetry with `pull`. Pull request
# by Mike Virata-Stone.
* Update bundled Molinillo to 0.4.. Pull request # by Samuel E. Giddins.
* Allow calling `build` without '.gemspec'. Pull request # by Stephen
Blackstone.
* Add support for `source` option on gems in Gemfile. Pull request # by
Michael Papis.
* Function correctly when string literals are frozen on Ruby 2.3. Pull request
# by Samuel E. Giddins. ------------------------------------------------------------------------------ RubyGems installed the following executables:
C:/RailsInstaller/Ruby2.3.0/bin/gem Ruby Interactive (ri) documentation was installed. ri is kind of like man
pages for ruby libraries. You may access it like this:
ri Classname
ri Classname.class_method
ri Classname#instance_method
If you do not wish to install this documentation in the future, use the
--no-document flag, or set it as the default in your ~/.gemrc file. See
'gem help env' for details. RubyGems system software updated C:\Sites\test01>gem -v
2.6.

gem update --system的更多相关文章

  1. gem update --system 302 错误 解决方案(转)

    具体过程如下: 1.InstantRails-2.0安装后,在配置环境变量path中配置ruby/bin目录(如果系统中有多个RUBY,执行命令行的时候系统认的就是path中的) 2.进入DOS命令行 ...

  2. gem安装cocoapods

    1.升级Ruby环境 sudo gem update --system 如果Ruby没有安装,请参考 如何在Mac OS X上安装 Ruby运行环境 2.安装CocoaPods时我们要访问cocoap ...

  3. Ruby Gem命令详解

    转自:http://www.jianshu.com/p/728184da1699 Gem介绍: Gem是一个管理Ruby库和程序的标准包,它通过Ruby Gem(如 http://rubygems.o ...

  4. 安装Cocoapods时候ERROR: While executing gem ... (Errno::EPERM)

    OS X 10.11 安装Cocoapods 出现问题的解决方法 今天尝试用 Cocoapods安装个第三方库.. 输入pod install, 发现 command not find. WTF! 估 ...

  5. ruby 编译安装,gem国内源ruby.taobao.org

    centos6.6final 一.安装依赖包(使用默认CENTOS更新源): # yum install openssl* openssl-devel zlib-devel gcc gcc-c++ m ...

  6. sudo gem install cocoapods 没反应问题

    1. 尝试更新 sudo gem update --system 2. 查看安装详细 sudo gem install cocoapods -V 3.详细使用有个链接 http://blog.csdn ...

  7. brew,gem,rvm 和 bundler软件包的管理工具

    brew是OS X上提供软件包的管理.Homebrew将软件包安装到单独的目录,然后符号链接到/usr/local 中,完全基于git和ruby.使用gem来安装你的gems,用brew来搞定他们的依 ...

  8. Ruby Gem命令

    Gem是一个管理Ruby库和程序的标准包,它通过Ruby Gem(如 http://rubygems.org/ )源来查找.安装.升级和卸载软件包,非常的便捷. Ruby 1.9.2版本默认已安装Ru ...

  9. Mac OS10.11更新ruby,gem,安装cocoapods

    1.装cocoapods,ruby版本忒低->开始更新ruby->开始更新gem,这是一条不归路啊同志们,各种permission denied,各种路径不存在,各种路径没有读写权限,各种 ...

随机推荐

  1. 修改linux内核开机logo并居中全屏显示【转】

    本文转载自:http://blog.csdn.net/xuezhimeng2010/article/details/49299781 1.准备图片  使用ubuntu自带的绘图软件GIMP是最为快捷的 ...

  2. 【NOIP 2011】 计算系数

    [题目链接] https://www.luogu.org/problemnew/show/P1313 [算法] 二项式定理 [代码] #include<bits/stdc++.h> usi ...

  3. Nginx配置指令location匹配符优先级和安全问题

    使用nginx 很久了,它的性能高,稳定性表现也很好,得到了很多人的认可.特别是它的配置,有点像写程序一样,每行命令结尾一个";"号,语句块用"{}"括起来. ...

  4. GStreamer基础教程02 - 基本概念

    摘要 在 Gstreamer基础教程01 - Hello World中,我们介绍了如何快速的通过一个字符串创建一个简单的pipeline.为了能够更好的控制pipline中的element,我们需要单 ...

  5. Vue2.0框架搭建基础操作及目录说明

    一.概述 vue.js是一套构建用户界面的渐进式框架.vue采用自底向上增量开发的设计.vue的核心库只关心视图层,非常容易学习,非常容易与其它库和已有项目整合.vue完全有能力驱动采用单文件组件和v ...

  6. .NET微服务架构及API网关

    一.MSA简介 1.1.MSA是什么 微服务架构MSA是Microservice Architecture的简称,它是一种架构模式,它提倡将单一应用程序划分成一组小的服务,服务之间互相通讯.互相配合, ...

  7. Android应用优化之代码检测优化

    在网络层,互联网提供所有应用程序都要使用的两种类型的服务,尽管目前理解这些服务的细节并不重要,但在所有TCP/IP概述中,都不能忽略他们: 无连接分组交付服务(Connectionless Packe ...

  8. CSS3实现简单的幻灯片

    <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8&quo ...

  9. 有关PHP里的Cookie

    会话技术:Cookie,Session: Cookie是客户端技术,服务器把每个用户的数据以Cookie的形式保存在用户各自的浏览器,当用户用浏览器再次访问服务器的web资源时则会带着各自的数据去了: ...

  10. P3399 丝绸之路

    题目背景 张骞于公元前138年曾历尽艰险出使过西域.加强了汉朝与西域各国的友好往来.从那以后,一队队骆驼商队在这漫长的商贸大道上行进,他们越过崇山峻岭,将中国的先进技术带向中亚.西亚和欧洲,将那里的香 ...