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 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' system("bundle update")
system("bundle update") puts 'test123'
puts 'test123'
end
end end
sleep 0.1 while c.status!='sleep' sleep 0.1 while c.status!='sleep'
a.wakeup a.wakeup