From 849343c6811ae740bf9fe41cb6746cc1152792c4 Mon Sep 17 00:00:00 2001 From: chiu Date: Fri, 14 Feb 2020 16:41:31 +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 faf8b94..9fbddd6 100644 --- a/announcement.gemspec +++ b/announcement.gemspec @@ -47,7 +47,7 @@ if old_gemfile_text != new_gemfile_text puts ENV['PWD'] puts mode %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] + system("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 development] end end