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"

Edit:

The instikiversion in rubygems is so outdated, just download latest version from http://www.instiki.org/ which works fine.