<?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>AV-Looks: Instiki and Ruby 1.8.4</title>
    <link>http://avlooks.net/articles/2006/07/25/instiki-and-ruby-1-8-4</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Watching and Wondering</description>
    <item>
      <title>Instiki and Ruby 1.8.4</title>
      <description>&lt;p&gt;&lt;a href="http://avlux.net"&gt;&lt;span class="caps"&gt;AVLUX&lt;/span&gt;&lt;/a&gt; has attempted a few times to upgrade &lt;a href="http://ruby-lang.org"&gt;Ruby&lt;/a&gt; from 1.8.2 to 1.8.4, but each time has found that 1.8.4 broke &lt;a href="http://instiki.org"&gt;Instiki&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;But now with the advent of &lt;a href="http://mongrel.rubyforge.org"&gt;Mongrel&lt;/a&gt;, which only runs under Ruby 1.8.4, along with compelling discussions like &lt;a href="http://duncandavidson.com/essay/2006/06/webaspipe"&gt;this&lt;/a&gt;, the issue with Instiki has moved from the back burner to the front burner.&lt;/p&gt;


With a little careful googling, we found the answer &lt;a href="http://dev.instiki.org/ticket/277"&gt;here&lt;/a&gt;.  As it turns out, it is actually an incompatiblity between Ruby 1.8.4 and Rails 0.13.1, which Instiki requires.  One line of code in active_support/clean_logger.rb solves the problem:
&lt;pre&gt;
##  Fix for Instiki on Ruby 1.8.4 per http://dev.instiki.org/ticket/277
##  remove_const "Format" 
    remove_const "Format" if const_defined? "Format" 
&lt;/pre&gt;

	&lt;p&gt;&lt;a href="http://avlux.net"&gt;&lt;span class="caps"&gt;AVLUX&lt;/span&gt;&lt;/a&gt; has completed this change and upgraded to Ruby 1.8.4 on all servers.  Stay tuned for more on Mongrel&amp;#8230;&lt;/p&gt;</description>
      <pubDate>Tue, 25 Jul 2006 18:31:00 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:2479f566-77d6-43c3-a7c0-2a91a98675f1</guid>
      <author>av@avlux.net (Andrew)</author>
      <link>http://avlooks.net/articles/2006/07/25/instiki-and-ruby-1-8-4</link>
      <category>System Admin</category>
      <category>Ruby on Rails</category>
      <category>rubyonrails</category>
      <category>ruby</category>
      <category>instiki</category>
      <category>mongrel</category>
    </item>
  </channel>
</rss>
