RubyGems is a package manager for Ruby. At GitHub, we've tried to make the process of building and releasing new gems as simple as possible. Please see the documentation below on how to use the system.
Update to RubyGems 1.2.0 or greater before proceeding!!
$ gem sources -a http://gems.github.com (you only have to do this once) $ sudo gem install username-projectname
Example Usage:
$ sudo gem install defunkt-github Successfully installed defunkt-github-0.1.3 $ irb -rubygems
(regular require)
>> require 'github'=> true
(explicit require)
>> gem 'defunkt-github'=> true>> require 'github'=> true
If you'd like to host your gem on Github, please do the following:
We publish an updated gem list every 15 minutes: http://gems.github.com/list.html
$ gem build project_name.gemspec