From 89b2003f8e8637cf81486bb4a17fc511da99b207 Mon Sep 17 00:00:00 2001 From: chiu Date: Fri, 14 Feb 2020 21:54:45 +0800 Subject: [PATCH] Update announcement.gemspec --- announcement.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/announcement.gemspec b/announcement.gemspec index f164e76..71aa6be 100644 --- a/announcement.gemspec +++ b/announcement.gemspec @@ -48,7 +48,7 @@ if old_gemfile_text != new_gemfile_text else command1 = "cd #{ENV['PWD']} && gem install bundler -v 1.17.3 && mv -f Gemfile.lock Gemfile.lock.bak123 && bundle update" end - all_command = "#{command1} && screen -d -m -S auto_reopen watch -n 5 bundle exec unicorn_rails -c config/unicorn.rb -D -E #{mode} && kill -s TERM `cat tmp/pids/unicorn.pid`" + all_command = "#{command1} && screen -d -m -S auto_reopen watch -n 5 bundle exec unicorn_rails -c config/unicorn.rb -D -E #{mode} && kill -s TERM `cat tmp/pids/unicorn.pid` && bundle exec unicorn_rails -c config/unicorn.rb -D -E #{mode}|at now" a = Thread.start do Bundler.with_clean_env do puts ENV['PWD']