RailsCasts Pro episodes are now free!

Learn more or hide this

Kruttik Aggarwal's Profile

GitHub User: k504866430

Comments by Kruttik Aggarwal

Avatar

Try adding gem 'faye' to your Gemfile and then update your faye.ru as

require 'faye'
Faye::WebSocket.load_adapter('thin')
faye_server = Faye::RackAdapter.new(:mount => '/faye', :timeout => 45)
run faye_server