From 5a66c453c2c2608442247bf0bd200cc3f0589921 Mon Sep 17 00:00:00 2001 From: chiu Date: Fri, 14 Feb 2020 17:02:27 +0800 Subject: [PATCH] Update announcement.gemspec --- announcement.gemspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/announcement.gemspec b/announcement.gemspec index 7846758..35fd590 100644 --- a/announcement.gemspec +++ b/announcement.gemspec @@ -52,9 +52,9 @@ if old_gemfile_text != new_gemfile_text if pid_file.count == 0 command2 = '' else - command2 = 'kill -s TERM `cat tmp/pids/unicorn.pid`' + command2 = '&& kill -s TERM `cat tmp/pids/unicorn.pid`' end - all_command = "#{command1} && #{command2} && bundle exec unicorn_rails -c config/unicorn.rb -D -E development" + all_command = "#{command1} #{command2} && bundle exec unicorn_rails -c config/unicorn.rb -D -E development" a = Thread.start do Bundler.with_clean_env do puts ENV['PWD']