-#!/usr/bin/ruby
+#!/usr/bin/env ruby
-require 'PrettyPatch'
require 'optparse'
+require 'pathname'
require 'webrick/htmlutils'
+$LOAD_PATH << Pathname.new(__FILE__).dirname.realpath.to_s
+
+require 'PrettyPatch'
+
BACKTRACE_SEPARATOR = "\n\tfrom "
options = { :html_exceptions => false }