Skip to content

Instantly share code, notes, and snippets.

@viktor-shmigol
Last active February 29, 2016 08:07
Show Gist options
  • Save viktor-shmigol/d1bbbaf51c970d4ccbb0 to your computer and use it in GitHub Desktop.
Save viktor-shmigol/d1bbbaf51c970d4ccbb0 to your computer and use it in GitHub Desktop.
1) Need to open port 28080 for security group
2) add gem 'puma'
3) create file deploy/after_restart.rb:
execute 'actionCable' do
cwd current_release
command 'bundle exec puma -p 28080 cable/config.ru -e production -d'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment