middleman/middleman-core/lib
Ben Hollis 1229a9991a Prevent NoMethodError/NameError from hanging the server.
The fix is to work around this bug: http://bugs.ruby-lang.org/issues/4521 where Ruby will call to_s/inspect while printing exception messages, which can take a long time (minutes at full CPU) if the object is huge or has cyclic references, like Middleman::Application does. Defining #to_s short-circuits that. This fixes #370.
2012-07-02 23:39:30 -07:00
..
middleman-core Prevent NoMethodError/NameError from hanging the server. 2012-07-02 23:39:30 -07:00
middleman-core.rb Remove usage of autoload statement in favor of require 2012-05-07 14:41:39 -07:00