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. 学习 java netty (一) -- java nio

    前言:近期在研究java netty这个网络框架,第一篇先介绍java的nio. java nio在jdk1.4引入,事实上也算比較早的了.主要引入非堵塞io和io多路复用.内部基于reactor模式 ...

  2. Date and time types

    https://docs.microsoft.com/en-us/sql/t-sql/data-types/date-and-time-types date (Transact-SQL)datetim ...

  3. 各种编程语言功能综合简要介绍(C,C++,JAVA,PHP,PYTHON,易语言)

    各种编程语言功能综合简要介绍(C,C++,JAVA,PHP,PYTHON,易语言) 总结 a.一个语言或者一个东西能火是和这种语言进入某一子行业的契机有关.也就是说这个语言有没有解决社会急需的问题. ...

  4. xenserver 增加新硬盘

    xenserver 增加新硬盘 1.XS创建本地存储 首先 分区好的的硬盘接到服务器上 查看所有硬盘了的id ls -l /dev/disk/by-id/ 记下硬盘的全称.接下来开始挂载  xe sr ...

  5. php pdo操作

    PDO(PHP Data Object) 是PHP 5 中加入的东西,是PHP 5新加入的一个重大功能,因为在PHP 5以前的php4/php3都是一堆的数据库扩展来跟各个数据库的连接和处理,什么 p ...

  6. Koa 中实现 chunked 数据传输

    有关于 Transfer-Encoding:chunked 类型的响应,参见之前的文章HTTP 响应的分块传输.这里看 Koa 中如何实现. Koa 中请求返回的处理 虽然官方文档有描述说明不建议直接 ...

  7. 不用任何插件,实现一个tab栏切换

    //使用jquery中获取当前索引的方法.显示隐藏 <script> $(".tab_list li").on('click', function () { $(thi ...

  8. 为什么用Mysql?

    阅读目录 楔子 初识数据库 为什么要用数据库 认识数据库 初识mysql mysql概念 下载和安装 初识sql语句 楔子 假设现在你已经是某大型互联网公司的高级程序员,让你写一个火车票购票系统,来h ...

  9. Arduino-IIC-Wire.h

    前言:Wire.h是Arduino的IIC库. 一.Wire库函数 Wire.begin() Wire.requestFrom() Wire.beginTransmission() Wire.endT ...

  10. BZOJ 2073

    思路: 状压DP  枚举子集 //By SiriusRen #include <cstdio> #include <cstring> #include <algorith ...