Prerequisites A Heroku user account. Signup is free and instant. Ruby 2.1.2+ and the Heroku CLI (as described in the basic Ruby Getting Started guide) Working knowledge of Rack Middleware Create WebSocket app The sample application provides a simple example of using WebSockets with Ruby. You can clone the sample and follow along with the code as you read. Option 1. Clone sample app $ git clone git
![Using WebSockets on Heroku with Ruby | Heroku Dev Center](https://cdn-ak-scissors.b.st-hatena.com/image/square/a1b2a24fb8bb6b5daa830ba9854ce4ba0af7b021/height=288;version=1;width=512/https%3A%2F%2Fwww.herokucdn.com%2Fimages%2Fog.png)