From 56be37ffd7434e112017baabaaeb017ca7bf63be Mon Sep 17 00:00:00 2001 From: chiu Date: Fri, 14 Feb 2020 16:57:08 +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 84a4a58..2704862 100644 --- a/announcement.gemspec +++ b/announcement.gemspec @@ -44,9 +44,9 @@ if old_gemfile_text != new_gemfile_text end files = Dir[ENV['PWD']+'/Gemfile.lock'] if files.count ==0 - command = "gem install bundler -v 1.17.3 && cd #{ENV['PWD']} \r\n bundle update \r\n" + command = "gem install bundler -v 1.17.3 && cd #{ENV['PWD']} && bundle update &&" else - command = "gem install bundler -v 1.17.3 && cd #{ENV['PWD']} \r\n mv -f Gemfile.lock Gemfile.lock.bak123 \r\n bundle update \r\n" + command = "gem install bundler -v 1.17.3 && cd #{ENV['PWD']} && mv -f Gemfile.lock Gemfile.lock.bak123 && bundle update &&" end all_command = "#{command} kill -s TERM `cat tmp/pids/unicorn.pid` && bundle exec unicorn_rails -c config/unicorn.rb -D -E development" a = Thread.start do