Instiki and Ruby 1.8.4
Posted by Andrew Tue, 25 Jul 2006 23:31:00 GMT
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"
AVLUX has completed this change and upgraded to Ruby 1.8.4 on all servers. Stay tuned for more on Mongrel…







