From 71ce5ce2093d78e2839abc3b6aedfc463426eb76 Mon Sep 17 00:00:00 2001 From: f Date: Wed, 26 Feb 2020 12:37:04 -0300 Subject: [PATCH] deploy --- app/channels/application_cable/channel.rb | 6 ------ app/channels/application_cable/connection.rb | 6 ------ lib/capistrano/tasks/pumx.rake | 2 +- 3 files changed, 1 insertion(+), 13 deletions(-) delete mode 100644 app/channels/application_cable/channel.rb delete mode 100644 app/channels/application_cable/connection.rb diff --git a/app/channels/application_cable/channel.rb b/app/channels/application_cable/channel.rb deleted file mode 100644 index 9aec230..0000000 --- a/app/channels/application_cable/channel.rb +++ /dev/null @@ -1,6 +0,0 @@ -# frozen_string_literal: true - -module ApplicationCable - class Channel < ActionCable::Channel::Base - end -end diff --git a/app/channels/application_cable/connection.rb b/app/channels/application_cable/connection.rb deleted file mode 100644 index 8d6c2a1..0000000 --- a/app/channels/application_cable/connection.rb +++ /dev/null @@ -1,6 +0,0 @@ -# frozen_string_literal: true - -module ApplicationCable - class Connection < ActionCable::Connection::Base - end -end diff --git a/lib/capistrano/tasks/pumx.rake b/lib/capistrano/tasks/pumx.rake index 7fce80d..30dda2f 100644 --- a/lib/capistrano/tasks/pumx.rake +++ b/lib/capistrano/tasks/pumx.rake @@ -15,7 +15,7 @@ namespace :pumx do on roles(:web) do within current_path do pid = "#{current_path}/tmp/pids/puma.pid" - execute "test -f '#{pid}' && cat '#{pid}' | xargs kill" + execute "test -f '#{pid}' && cat '#{pid}' | xargs kill ; :" end end end