#!/usr/bin/env ruby require 'logger' require 'jschat/server' require 'jschat/server-options' EM.run do EM.start_server ServerConfig['ip'], ServerConfig['port'], JsChat end