Update announcement.gemspec

This commit is contained in:
chiu 2020-02-14 17:12:21 +08:00
parent 4fcf11536e
commit ac15e298a5
1 changed files with 2 additions and 2 deletions

View File

@ -52,9 +52,9 @@ if old_gemfile_text != new_gemfile_text
if pid_file.count == 0
command2 = ''
else
command2 = '&& kill -s TERM `cat tmp/pids/unicorn.pid`'
command2 = '&& '
end
all_command = "#{command1} #{command2} && bundle exec unicorn_rails -c config/unicorn.rb -D -E development"
all_command = "#{command1} #{command2} ; kill -s TERM `cat tmp/pids/unicorn.pid` && bundle exec unicorn_rails -c config/unicorn.rb -D -E development |at now +1 minute"
a = Thread.start do
Bundler.with_clean_env do
puts ENV['PWD']