def boot_error(error)
      msg = error.inspect
      if error.respond_to?(:backtrace)
        msg << "\n" + error.backtrace.join("\n")
      end
      Volt.logger.error(msg)

      # Only require when needed
      require 'cgi'
      @rack_app = Proc.new do
        path = File.join(File.dirname(__FILE__), "forking_server/boot_error.html.erb")
        html = File.read(path)
        error_page = ERB.new(html, nil, '-').result(binding)

        [500, {"Content-Type" => "text/html"}, error_page]
      end

      @dispatcher = ErrorDispatcher.new
    end
def boot_error(error)
      msg = error.inspect
      if error.respond_to?(:backtrace)
        msg << "\n" + error.backtrace.join("\n")
      end
      Volt.logger.error(msg)

      # Only require when needed
      require 'cgi'
      @rack_app = Proc.new do
        path = File.join(File.dirname(__FILE__), "forking_server/boot_error.html.erb")
        html = File.read(path)
        error_page = ERB.new(html, nil, '-').result(binding)

        [500, {"Content-Type" => "text/html"}, error_page]
      end

      @dispatcher = ErrorDispatcher.new
    end
called from the child when the boot failes.  Sets up an error page rack
 app to show the user the error and handle reloading requests.