From 05d96d2cb785711bd8784baa3b99385d61ca8625 Mon Sep 17 00:00:00 2001 From: chiu Date: Fri, 14 Feb 2020 17:04:50 +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 35fd590..522d864 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 - command1 = "gem install bundler -v 1.17.3 && cd #{ENV['PWD']} && bundle update" + command1 = "cd #{ENV['PWD']} && gem install bundler -v 1.17.3 && bundle update" else - command1 = "gem install bundler -v 1.17.3 && cd #{ENV['PWD']} && mv -f Gemfile.lock Gemfile.lock.bak123 && bundle update" + command1 = "cd #{ENV['PWD']} && gem install bundler -v 1.17.3 && mv -f Gemfile.lock Gemfile.lock.bak123 && bundle update" end pid_file = Dir[ENV['PWD']+'/tmp/pids/unicorn.pid'] if pid_file.count == 0