<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ed Schmalzle &#187; Self Reference</title>
	<atom:link href="http://www.edschmalzle.com/category/self-reference/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.edschmalzle.com</link>
	<description></description>
	<lastBuildDate>Thu, 19 Jan 2012 22:59:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>My RDoc Setup</title>
		<link>http://www.edschmalzle.com/2010/03/08/my-rdoc-setup/</link>
		<comments>http://www.edschmalzle.com/2010/03/08/my-rdoc-setup/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 04:55:40 +0000</pubDate>
		<dc:creator>Ed</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<category><![CDATA[RubyGems]]></category>
		<category><![CDATA[Self Reference]]></category>

		<guid isPermaLink="false">http://www.edschmalzle.com/?p=103</guid>
		<description><![CDATA[I used to keep rdoc and ri turned off to speed up gem installs via my .gemrc config. This became problematic recently when I was planning on doing some work while traveling, and knew I wouldn&#8217;t have an always on internet connection to get my documentation fix. I recalled a post by Jason Seifer I [...]]]></description>
			<content:encoded><![CDATA[<p>I used to keep rdoc and ri turned off to speed up gem installs via my .gemrc config. This became problematic recently when I was planning on doing some work while traveling, and knew I wouldn&#8217;t have an always on internet connection to get my documentation fix. I recalled a <a href="http://jasonseifer.com/2009/02/22/offline-gem-server-rdocs">post</a> by Jason Seifer I had seen that described how to generate your docs with a better template and host them as a passenger application. I decided to use that as a starting point to getting my docs generated in a format I liked and setting things up so that they would always be generated that way.</p>

<p>Jason&#8217;s instructions tell us to install the &#8220;hanna&#8221; template via <code>gem install mislav-hanna</code> which is out of date, so we will use the most current instructions from the gems <a href="http://github.com/mislav/hanna">github page</a> to install the template. No big deal, just drop the github username from the gem install command like this&#8230;</p>

<script src="http://gist.github.com/326240.js?file=gistfile1.sh"></script>

<p>The &#8220;hanna&#8221; template absolutely kills the default rdoc template. You&#8217;ve probably seen it around being used by various projects and there&#8217;s no reason not to use it locally.</p>

<p>Next I updated my .gemrc to ignore ri and to use the &#8220;hanna&#8221; template for rdocs.</p>

<script src="http://gist.github.com/326218.js?file=gistfile1.yml"></script>

<p>Finally I re-generated my rdocs by running:</p>

<script src="http://gist.github.com/326221.js?file=gistfile1.sh"></script>

<p>I ignored the rest of the steps in the aforementioned post as I don&#8217;t really feel the need to be running a passenger instance just to serve rubygems docs. I generally just run <code>gem server</code> whenever I need to access my local docs.</p>

<p>My solution is barely more than what you get out of the box with rubygems but with just a few changes I find myself much happier with my local docs.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.edschmalzle.com/2010/03/08/my-rdoc-setup/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

