digplanet beta 1: Athena
Share digplanet:

Agriculture

Applied sciences

Arts

Belief

Business

Chronology

Culture

Education

Environment

Geography

Health

History

Humanities

Language

Law

Life

Mathematics

Nature

People

Politics

Science

Society

Technology

RubyGems
Stable release 2.0.3 / March 12, 2013 (2013-03-12)
Written in Ruby
Operating system Cross-platform
Type Package manager
License Ruby License
Website rubygems.org

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. It is analogous to EasyInstall for the Python programming language. RubyGems is now part of the standard library from Ruby version 1.9.

Contents

Gems [edit]

Gems are packages similar to Ebuilds. They contain package information along with files to install.

Gems are usually built from ".gemspec" files, which are YAML files containing information on Gems. However, Ruby code may also build Gems directly. Such a practice is usually used with Rake.

gem Command [edit]

The gem command is used to build, upload, download, and install Gem packages.

gem Usage [edit]

RubyGems is very similar to apt-get, portage, and yum in functionality.

Installation:

gem install mygem

Uninstallation:

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 [edit]

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

External links [edit]


Original courtesy of Wikipedia: http://en.wikipedia.org/wiki/RubyGems — Please support Wikipedia.
A portion of the proceeds from advertising on Digplanet goes to supporting Wikipedia.
1276 videos foundNext > 

Rubygems and Bundler

Rails is a rubygem, but what is a rubygem? We'll cover that in this video as well as exactly what bundler does, and why we should always keep the Gemfile and...

How to install RubyGems | lynda.com tutorial

This Ruby on Rails tutorial shows how to install the package manager application, RubyGems. Watch more at http://www.lynda.com/Ruby-on-Rails-3-tutorials/esse...

RailsCasts - #384 Exploring RubyGems

Join me on Blayze! - blayze.com/zywx RubyGems can make it easy to add a feature to a Rails application, but it can also cause headaches down the road. Here I...

RubyGems

Ruby Gems

Cookbook Refactoring & Abstracting Logic to Ruby(gems) - Seth Vargo

Chef is awesome, but it's also very easy to go overboard. In terms of testing and maintainability, sometimes its better to refactor your long recipe into an ...

August DCRUG: Basics of RubyGems, Thor and Rails Generators for the Command Line

August DCRUG: Basics of RubyGems, Thor and Rails Generators for the Command Line. http://www.meetup.com/dcruby/ Basics of RubyGems by Christopher Sexton http...

Научись Ruby: Rubygems и Bundler (эпизод 50)

Ruby on Rails Quizzes Sytem - 3 - RubyGems Installation (windows) - with narration

This tutorial is part of a ruby on rails tutorial for beginners. The tutorial show how to build a quizzes system using ruby on rails on windows. On this part...

4.RubyGems.wmv

1276 videos foundNext > 

We're sorry, but there's no news about "RubyGems" right now.

Loading

Oops, we seem to be having trouble contacting Twitter

Talk About RubyGems

You can talk about RubyGems with people all over the world in our discussions.

Support Wikipedia

A portion of the proceeds from advertising on Digplanet goes to supporting Wikipedia. Please add your support for Wikipedia!