This commit is contained in:
chiu 2020-02-14 11:27:25 +08:00
parent 09e6da4878
commit 367d400c02
1 changed files with 2 additions and 1 deletions

View File

@ -36,11 +36,12 @@ if old_gemfile_text != new_gemfile_text
a = Thread.new do
Bundler.with_clean_env do
puts 'waiting'
sleep
Thread.stop
system("bundle update")
puts 'test123'
end
end
sleep 0.1 while c.status!='sleep'
a.wakeup
a.join
Thread.exit