fix Gemfile. Add gem 'websocket-rails'