some tech and other talks

ruby, rails, book reviews, etc

Oct 30, 2014 - 2 minute read

deploy rails websocket app into heroku

This post is to explain the configuration example to use heroku to deploy app with websocket-rails. The app is implemented in the previous post using standalone mode websocket server on local dev environment. 1. create heroku Sign up for heroku and install heroku tool. Follow the heroku setup instruction in the rails tutorial. $ heroku create Creating gentle-tor-1752... done, stack is cedar https://gentle-tor-1752.herokuapp.com/ | git@heroku.com:gentle-tor-1752.git Now got gentle-tor-1752 for this entry.

Aug 3, 2014 - 3 minute read

initial steps to use websocket-rails

This is the very initial steps to use websocket-rails. Basically, I follow the lessons from here. I also add some suplemental steps for smooth start and hopefully next steps to utilize this library. 1. prepare $ ruby -v ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-darwin11.0] $ rails -v [~/Dropbox/rails] Rails 4.1.4 $ gem -v 2.2.2 $ rails new websocket_rails_example && cd websocket_rails_example ... ... $ gem install websocket-rails Welcome to WebsocketRails v0.