<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>has_many :thoughts: Tag rdoc</title>
    <link>http://blog.kineticweb.com/articles/tag/rdoc</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Musings from a Ruby on Rails development team</description>
    <item>
      <title>Generating Ruby 1.9 RDocs Tip</title>
      <description>&lt;p&gt;Like many hardcore Ruby hackers, I am completely psyched for this December&amp;#8230; Ruby 1.9 will depot to the world, and give us a much needed refresher in the community.&lt;/p&gt;


	&lt;p&gt;Last night, following &lt;a href="http://www.rubyinside.com/how-to-start-playing-with-ruby-19-right-now-661.html"&gt;RubyInside&amp;#8217;s How to Start Playing with Ruby 1.9 Right Now!&lt;/a&gt; I was able to have it compiled in no time (after upgrading &lt;span class="caps"&gt;GNU&lt;/span&gt; Bison on Tiger).&lt;/p&gt;


	&lt;p&gt;So with a brand new programming language refresh your going to need the &lt;span class="caps"&gt;API&lt;/span&gt; docs right? Well, &lt;a href="http://www.ruby-forum.com/topic/128944"&gt;some&lt;/a&gt; &lt;a href="http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/95670"&gt;people&lt;/a&gt; are finding problems when generating these new rdoc&amp;#8217;s, so I figured I&amp;#8217;d have the same problem&amp;#8230;. but not quite&amp;#8230;&lt;/p&gt;


	&lt;p&gt;&lt;strong&gt;Allison Is Sexy&lt;/strong&gt;&lt;/p&gt;


	&lt;p&gt;Using &lt;a href="http://blog.evanweaver.com/"&gt;Evan Weaver&amp;#8217;s&lt;/a&gt; &amp;#8220;Allison&amp;#8221; RDoc template gem I was able to do a simple generation of the new RDoc&amp;#8217;s with his gorgeous template.&lt;/p&gt;


	&lt;p&gt;&lt;img src="http://i10.tinypic.com/82apqba.png" alt="" /&gt;&lt;/p&gt;


	&lt;p&gt;First you&amp;#8217;ll need the template&amp;#8230;&lt;/p&gt;


&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_shell "&gt;# sudo gem install allison&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

	&lt;p&gt;Then, from within the root level of the Ruby 1.9 trunk source directory (where you built Ruby 1.9) use the &lt;em&gt;allison&lt;/em&gt; command like so.&lt;/p&gt;


&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_shell "&gt;# allison --title 'Ruby 1.9beta' --line-numbers -o new-rdoc&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

	&lt;p&gt;This will place all the new docs into &amp;#8220;new-rdoc&amp;#8221; directory. You can copy them out to where ever you like afterwards. I stored mine within my &lt;em&gt;/usr/local/ruby1.9b/doc/&lt;/em&gt;.&lt;/p&gt;


	&lt;p&gt;Remember, when compiling 1.9 to &lt;em&gt;configure&lt;/em&gt; with &lt;em&gt;prefix=/usr/local/ruby1.9&lt;/em&gt; otherwise you may overwrite your 1.8 installation&amp;#8230; and that would make for a bad workday.&lt;/p&gt;


	&lt;p&gt;&lt;strong&gt;Small Issue&lt;/strong&gt;&lt;/p&gt;


	&lt;p&gt;I have experienced some error messages coming from Safari 3, that the Allison template&amp;#8217;s Javascripts are loading too slowly. Just hitting the &amp;#8220;Continue&amp;#8221; button will keep them going. I have not tried this in Firefox or any other browser yet&amp;#8230; but that would probably fix this small issue.&lt;/p&gt;</description>
      <pubDate>Wed, 28 Nov 2007 11:39:00 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:64624abe-7b15-44cb-a236-24c0580c9430</guid>
      <author>Justin Reagor</author>
      <link>http://blog.kineticweb.com/articles/2007/11/28/generating-ruby-1-9-rdocs-tip</link>
      <category>ruby</category>
      <category>rdoc</category>
      <category>sexy</category>
    </item>
  </channel>
</rss>
