Sha256: e67820cde43038d3ba104f1c178d7b9bb1c2c2171831821a28a4520236fdf06a
Contents?: true
Size: 525 Bytes
Versions: 9
Compression:
Stored size: 525 Bytes
Contents
require 'rubygems' require 'bundler/setup' Bundler.require require 'sinatra' require 'sinatra/base' if development? $stdout.sync = true require 'sinatra/reloader' $:.unshift File.expand_path '../lib', File.dirname(__FILE__) end require 'sinatra/websocketio' require 'sass' require 'haml' require File.dirname(__FILE__)+'/main' set :haml, :escape_html => true set :websocketio, :port => 9000 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
9 entries across 9 versions & 1 rubygems