Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (9 sloc) 0.394 kb
# Run with: rackup private_pub.ru -s thin -E production
require 'bundler/setup'
require 'yaml'
require 'faye'
require 'private_pub'
Faye::Logging.log_level = :debug unless ENV['RAILS_ENV'] == 'production'
Faye::WebSocket.load_adapter('thin')
PrivatePub.load_config(File.expand_path('../config/private_pub.yml', __FILE__), ENV['RAILS_ENV'] || 'development')
run PrivatePub.faye_app(ping: 20)
Jump to Line
Something went wrong with that request. Please try again.