Sha256: 531fcd5a60dffca42e7622385f2caeabf650367a542efba7f912e7024aab4461

Contents?: true

Size: 454 Bytes

Versions: 2

Compression:

Stored size: 454 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/cometio'
require 'haml'
require 'sass'
require File.dirname(__FILE__)+'/main'

set :haml, :escape_html => true
set :cometio, :timeout => 60, :post_interval => 2, :allow_crossdomain => false

run ChatApp

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sinatra-cometio-0.5.8 sample/config.ru
sinatra-cometio-0.5.7 sample/config.ru