Sha256: 38b19d2acd031e777cbd8b0d5dcce65acb604a277c66aff3d9252c64b047363b
Contents?: true
Size: 579 Bytes
Versions: 5
Compression:
Stored size: 579 Bytes
Contents
require 'rubygems' require 'bundler/setup' Bundler.require require 'sinatra/base' if development? $stdout.sync = true require 'sinatra/reloader' $:.unshift File.expand_path '../lib', File.dirname(__FILE__) end require 'sinatra/rocketio' require File.dirname(__FILE__)+'/main' set :haml, :escape_html => true set :cometio, :timeout => 120 set :websocketio, :port => (ENV['WS_PORT'].to_i || 8080) set :rocketio, :comet => true, :websocket => true case RUBY_PLATFORM when /linux/i then EM.epoll when /bsd/i then EM.kqueue end EM.set_descriptor_table_size 10000 run ChatApp
Version data entries
5 entries across 5 versions & 1 rubygems