From 96a7f6eacb4930404129264b340382c8a65028f8 Mon Sep 17 00:00:00 2001 From: Benjamin ter Kuile Date: Sat, 7 Mar 2020 11:42:52 -0500 Subject: [PATCH] fix net http issu questionmark --- config/application.rb | 1 + config/deploy.rb | 1 + 2 files changed, 2 insertions(+) diff --git a/config/application.rb b/config/application.rb index 54c6b2bc..0c229385 100644 --- a/config/application.rb +++ b/config/application.rb @@ -8,6 +8,7 @@ require 'action_mailer/railtie' #require 'active_resource/railtie' require 'rails/test_unit/railtie' require 'sprockets/railtie' +require 'net/http' # lib/qwaiter/broadcaster/faye.rb # custom override hack for the couchbase-setting gem, needs to be loaded before other gems, is settings only without dependencies require File.expand_path('./../../lib/couchbase-setting', __FILE__) diff --git a/config/deploy.rb b/config/deploy.rb index 88256a63..c76d226a 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -69,6 +69,7 @@ namespace :deploy do #execute :chown, "-R www-data:www-data", release_path.join('public/assets/') #execute :kill, capture("lsof -i:9022 -t") # kill counters, will reboot itself execute :touch, release_path.join('tmp/restart.txt') + execute :monit, :restart, 'puma_mozo.bar_production' end end