I follow this guide to the letter:
http://net.tutsplus.com/tutorials/ruby/how-to-use-faye-as-a-real-time-push-server-in-rails/
I installed thin faye and wrote the following in the faye.ru file:
require 'faye' bayeux = Faye::RackAdapter.new(:mount => '/faye', :timeout => 25) bayeux.listen(9292)
But when I start the server on the rack:
rackup faye.ru -E production -s thin
The server starts correctly:
>> Thin web server (v1.5.0 codename Knife) >> Maximum connections set to 1024 >> Listening on 0.0.0.0:9292, CTRL+C to stop
But when I access any web page, for example "http: // localhost: 9292 /", I get the following message:
Sure you're not looking for /faye ?
And neither this tutorial nor Ryan Bates rails cast # 260 provides an explanation of why this is happening. Does anyone have an idea?
I have to say that my project uses the ruby ββversion 1.8.7 (and I canβt switch to 1.9, because some of the gems that I use do not yet support 1.9).
source share