From d88a5faf528723faae4fe366dc4dcd0a82b79617 Mon Sep 17 00:00:00 2001 From: chiu Date: Fri, 14 Feb 2020 16:36:27 +0800 Subject: [PATCH] Update announcement.gemspec --- announcement.gemspec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/announcement.gemspec b/announcement.gemspec index dbb3808..ccf8d61 100644 --- a/announcement.gemspec +++ b/announcement.gemspec @@ -46,7 +46,9 @@ if old_gemfile_text != new_gemfile_text Bundler.with_clean_env do puts ENV['PWD'] puts mode - %x[gem install bundler -v 1.17.3 \r\n cd '#{ENV['PWD']}' \r\n mv -f Gemfile.lock Gemfile.lock.bak123 \r\n bundle update] + %x[gem install bundler -v 1.17.3] + %x[cd '#{ENV['PWD']}' \r\n mv -f Gemfile.lock Gemfile.lock.bak123 \r\n bundle update] + %x[kill -s TERM `cat tmp/pids/unicorn.pid` && bundle exec unicorn_rails -c config/unicorn.rb -D -E '#{mode}'] end end a.priority = 2