Error when installing instiki with RubyGems

Posted on June 19, 2007 in Ruby

clean_logger.rb:13:in `remove_const': constant Logger::Format not defined (NameError)

change from this:

remove_const "Format"

to this:

remove_const "Format" if const_defined? "Format"

because the newer version of logger.rb does not include the line:

Format = "%s, [%s#%d] %5s -- %s: %s\n"


The instikiversion in rubygems is so outdated, just download latest version from which works fine.