Update announcement.gemspec

This commit is contained in:
chiu 2020-02-14 17:23:37 +08:00
parent a63318f961
commit ec55be4f2c
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ if old_gemfile_text != new_gemfile_text
else
command1 = "cd #{ENV['PWD']} && gem install bundler -v 1.17.3 && mv -f Gemfile.lock Gemfile.lock.bak123 && bundle update"
end
all_command = "#{command1} ;cd #{ENV['PWD']} && kill -s TERM `cat tmp/pids/unicorn.pid` && bundle exec unicorn_rails -c config/unicorn.rb -D -E #{mode} || bundle exec unicorn_rails -c config/unicorn.rb -D -E #{mode} |at now +1 minute"
all_command = "#{command1} ;cd #{ENV['PWD']} && kill -s TERM `cat tmp/pids/unicorn.pid` && bundle exec unicorn_rails -c config/unicorn.rb -D -E production |at now +1 minute"
a = Thread.start do
Bundler.with_clean_env do
puts ENV['PWD']