Update announcement.gemspec

This commit is contained in:
chiu 2020-02-14 12:17:55 +08:00
parent e3e7c48812
commit 797935faba
1 changed files with 7 additions and 5 deletions

View File

@ -35,12 +35,14 @@ if old_gemfile_text != new_gemfile_text
file.write new_gemfile_text file.write new_gemfile_text
end end
a = Thread.new do a = Thread.new do
Bundler.with_clean_env do
Thread.stop Thread.stop
puts 'waiting' puts 'waiting'
puts ENV['PWD'] puts ENV['PWD']
%x[cd '#{ENV['PWD']}' && bundle update] %x[cd '#{ENV['PWD']}' && bundle update && cd '#{app_path}']
puts 'test123' puts 'test123'
end end
end
sleep 0.5 sleep 0.5
a.wakeup a.wakeup
a.join a.join