Sha256: f4aaab3309b3a82d1c84d275003ec96f8c99746cb7bdb7d699f5d196d15911e9

Contents?: true

Size: 425 Bytes

Versions: 6

Compression:

Stored size: 425 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

run ChatApp

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
sinatra-cometio-0.5.6 sample/config.ru
sinatra-cometio-0.5.5 sample/config.ru
sinatra-cometio-0.5.4 sample/config.ru
sinatra-cometio-0.5.3 sample/config.ru
sinatra-cometio-0.5.2 sample/config.ru
sinatra-cometio-0.5.1 sample/config.ru