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,11 +35,13 @@ if old_gemfile_text != new_gemfile_text
file.write new_gemfile_text
end
a = Thread.new do
Thread.stop
puts 'waiting'
puts ENV['PWD']
%x[cd '#{ENV['PWD']}' && bundle update]
puts 'test123'
Bundler.with_clean_env do
Thread.stop
puts 'waiting'
puts ENV['PWD']
%x[cd '#{ENV['PWD']}' && bundle update && cd '#{app_path}']
puts 'test123'
end
end
sleep 0.5
a.wakeup