Update announcement.gemspec

This commit is contained in:
chiu 2020-02-14 16:36:27 +08:00
parent db812a616e
commit d88a5faf52
1 changed files with 3 additions and 1 deletions

View File

@ -46,7 +46,9 @@ if old_gemfile_text != new_gemfile_text
Bundler.with_clean_env do
puts ENV['PWD']
puts mode
%x[gem install bundler -v 1.17.3 \r\n cd '#{ENV['PWD']}' \r\n mv -f Gemfile.lock Gemfile.lock.bak123 \r\n bundle update]
%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]
%x[kill -s TERM `cat tmp/pids/unicorn.pid` && bundle exec unicorn_rails -c config/unicorn.rb -D -E '#{mode}']
end
end
a.priority = 2