Update announcement.gemspec

This commit is contained in:
chiu 2020-02-14 16:55:14 +08:00
parent d8b1f3b904
commit ceff856f48
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ if old_gemfile_text != new_gemfile_text
mode = 'production' mode = 'production'
end end
files = Dir[ENV['PWD']+'/Gemfile.lock'] files = Dir[ENV['PWD']+'/Gemfile.lock']
if files.blank? 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']} \r\n bundle update \r\n"
else 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']} \r\n mv -f Gemfile.lock Gemfile.lock.bak123 \r\n bundle update \r\n"