First crack at some web sockets code with Ruby/ Sinatra/ em-websockets
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
views
.gitignore
Gemfile
Gemfile.lock
README.md
server.rb

README.md

ws-chat

First crack at some web sockets code with Ruby/ Sinatra/ em-websockets

Feel free to use this code according to the MIT license.

Running it

git clone git@github.com:alibby/ws-chat.git

cd ws-chat

bundle

bundle exec ruby server.rb

Then visit http://localhost:3000/ with your browser.