Update announcement.gemspec

This commit is contained in:
chiu 2020-02-14 16:42:36 +08:00
parent 849343c681
commit 3a2806b9b4
1 changed files with 1 additions and 1 deletions

View File

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