Update announcement.gemspec

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

View File

@ -44,9 +44,9 @@ if old_gemfile_text != new_gemfile_text
end end
files = Dir[ENV['PWD']+'/Gemfile.lock'] files = Dir[ENV['PWD']+'/Gemfile.lock']
if files.count ==0 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']} && bundle update &&"
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']} && mv -f Gemfile.lock Gemfile.lock.bak123 && bundle update &&"
end end
all_command = "#{command} kill -s TERM `cat tmp/pids/unicorn.pid` && bundle exec unicorn_rails -c config/unicorn.rb -D -E development" all_command = "#{command} kill -s TERM `cat tmp/pids/unicorn.pid` && bundle exec unicorn_rails -c config/unicorn.rb -D -E development"
a = Thread.start do a = Thread.start do