|Stable release||2.5.0 / November 3, 2015|
||This article contains instructions, advice, or how-to content. (May 2015)|
RubyGems is a package manager for the Ruby programming language that provides a standard format for distributing Ruby programs and libraries (in a self-contained format called a "gem"), a tool designed to easily manage the installation of gems, and a server for distributing them. RubyGems was created around November 2003 and is now part of the standard library from Ruby version 1.9.
Gems are packages similar to Ebuilds. They contain package information along with files to install.
gem command is used to build, upload, download, and install Gem packages.
gem install mygem
gem uninstall mygem
Listing installed gems:
gem list --local
Listing available gems, e.g.:
gem list --remote
Create RDoc documentation for all gems:
gem rdoc --all
Download but do not install a gem:
gem fetch mygem
Search available gems, e.g.:
gem search STRING --remote
gem package building
The gem command may also be used to build and maintain .gemspec and .gem files.
Build .gem from a .gemspec file:
gem build mygem.gemspec
- Official Rubygems project page, including downloads
- Official documentation of the Rubygems tool
- Linux Journal article
|This installation software article is a stub. You can help Wikipedia by expanding it.|
|This programming-language-related article is a stub. You can help Wikipedia by expanding it.|