<?xml version="1.0" encoding="UTF-8"?>
<article>
  <body>Here's how to go from a rubygem's source code in a git repository to an installed gem on your machine:

1. Make sure you have git installed. Install MacPorts, then do 'sudo port install git-core'.
2. Copy the git repository to your local machine: &lt;em&gt;git clone http://github.com/gwynm/mailtrap/tree/master&lt;/em&gt;.
3. Now you have a new directory, "mailtrap". &lt;em&gt;cd mailtrap&lt;/em&gt;
4. Build the gem: &lt;em&gt;rake gem&lt;/em&gt;. This step fails if the gem you downloaded isn't using "&lt;a href='http://www.nimblecode.com/articles/2007/01/10/packaging-your-first-gem-with-hoe'&gt;hoe&lt;/a&gt;", a gem which builds gems.
5. Install the gem: &lt;em&gt;sudo rake install_gem&lt;/em&gt;.</body>
  <category-id type="integer">1</category-id>
  <created-at type="datetime">2008-03-31T12:07:25-04:00</created-at>
  <file nil="true"></file>
  <id type="integer">128</id>
  <picture nil="true"></picture>
  <title>Git, Github, and Rubygems quickstart</title>
  <updated-at type="datetime">2008-05-01T07:11:22-04:00</updated-at>
</article>
