Meditations, Musings and Memorial Stones

AVANIM :: TecHarmony :: Instiki and Ruby 1.8.4

Instiki and Ruby 1.8.4

July 25, 2006 | Comments: 0

AVLUX has attempted a few times to upgrade Ruby from 1.8.2 to 1.8.4, but each time has found that 1.8.4 broke Instiki

But now with the advent of Mongrel, which only runs under Ruby 1.8.4, along with compelling discussions like this, the issue with Instiki has moved from the back burner to the front burner.

With a little careful googling, we found the answer here. 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:

##  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"

Post a comment


(required, but not displayed)

(optional)


(required)