[Ruby] gems: rubygems-update


RubyGems is a package management framework for Ruby. This gem is an update for the RubyGems software. You must have an installation of RubyGems before this update can be applied.


% gem list rubygems-update
*** LOCAL GEMS ***
rubygems-update (2.2.1)

RubyGems のアップデート

gem コマンド自体のアップデートはこれでよいのかな。

% gem update rubygems-update
Updating installed gems
Nothing to update
% sudo gem update --system
Updating rubygems-update
Successfully installed rubygems-update-2.2.1
Parsing documentation for rubygems-update-2.2.1
Done installing documentation for rubygems-update after 0 seconds
Installing RubyGems 2.2.1
RubyGems 2.2.1 installed
Parsing documentation for rubygems-2.2.1
Installing ri documentation for rubygems-2.2.1
RubyGems installed the following executables:
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
% gem -v


インストールされている gem のアップデート。

% gem update
Updating installed gems
% gem cleanup
Cleaning up installed gems...
Clean Up Complete
% gem pristine --all

gem のインストール先を探す。

% gem which compass