title: How to run sinatra as a websocket server?
body: <p>I've tried using eventmachine but all I have is an application running sinatra on one side and an event machine server on the other. I can't figure out how to run a sinatra application as a websocket. </p>
  
  <p>For example, I want to serve this as a websocket:</p>
  
  <pre>
  get '/' do
     #pull info from DB and display
  end
  </pre>
  
  <p>Any help is appreciated. </p>
  
  <p>Thanks!
  L.</p>