Sha256: 86f62a4c703632f74acece41bdaaffda111b3ec0ef9b1739d279b22164c710f2

Contents?: true

Size: 404 Bytes

Versions: 5

Compression:

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

run ChatApp

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sinatra-cometio-0.5.0 sample/config.ru
sinatra-cometio-0.4.3 sample/config.ru
sinatra-cometio-0.4.2 sample/config.ru
sinatra-cometio-0.4.1 sample/config.ru
sinatra-cometio-0.4.0 sample/config.ru