I have been using Sinatra for sometime now and I would like to add some realtime features to my web-app by pushing the data via websockets.
I have successfully used
FYI, you can also use Padrino apps with EventMachine (as they are subsets of Sinatra apps):
require 'rubygems'
require 'eventmachine'
require 'padrino-core'
require 'thin'
require ::File.dirname(__FILE__) + '/config/boot.rb'
EM.run do
Thin::Server.start Padrino.application, '0.0.0.0', 3000
end
Cheers, Mike