summaryrefslogtreecommitdiff
path: root/private_pub.ru
blob: 4892af4342f50964968473caa2a130152a0f141a (plain)
1
2
3
4
5
6
7
8
9
10
# Run with: rackup private_pub.ru -s thin -E production
require "bundler/setup"
require "yaml"
require "faye"
require "private_pub"

Faye::WebSocket.load_adapter('thin')

PrivatePub.load_config(File.expand_path("../config/private_pub.yml", __FILE__), ENV["RAILS_ENV"] || "development")
run PrivatePub.faye_app