Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (14 sloc) 539 Bytes
# Run using your favourite async server:
#
# thin start -R examples/config.ru -p 7000
# rainbows -c spec/rainbows.conf -E production examples/config.ru -p 7000
#
# If you run using one of these commands, the webserver is loaded before this
# file, so Faye::WebSocket can figure out which adapter to load. If instead you
# run using `rackup`, you need the `load_adapter` line below.
#
# rackup -E production -s thin examples/config.ru -p 7000
require 'rubygems'
require './app'
# Faye::WebSocket.load_adapter('thin')
run App