bin/jschat-server in jschat-0.1.2 vs bin/jschat-server in jschat-0.1.5
- old
+ new
@@ -1,9 +1,7 @@
#!/usr/bin/env ruby
require 'logger'
require 'jschat/server'
-require 'jschat/server-options'
+require 'jschat/server_options'
-EM.run do
- EM.start_server ServerConfig['ip'], ServerConfig['port'], JsChat
-end
+JsChat::Server.run!