This commit is contained in:
chiu 2020-02-14 11:32:33 +08:00
parent a53c3815ee
commit cfc3673b99
1 changed files with 4 additions and 6 deletions

View File

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