Update announcement.gemspec

This commit is contained in:
chiu 2020-02-14 17:04:50 +08:00
parent 5a66c453c2
commit 05d96d2cb7
1 changed files with 2 additions and 2 deletions

View File

@ -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