try
This commit is contained in:
parent
09e6da4878
commit
367d400c02
|
@ -36,11 +36,12 @@ if old_gemfile_text != new_gemfile_text
|
||||||
a = Thread.new do
|
a = Thread.new do
|
||||||
Bundler.with_clean_env do
|
Bundler.with_clean_env do
|
||||||
puts 'waiting'
|
puts 'waiting'
|
||||||
sleep
|
Thread.stop
|
||||||
system("bundle update")
|
system("bundle update")
|
||||||
puts 'test123'
|
puts 'test123'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
sleep 0.1 while c.status!='sleep'
|
||||||
a.wakeup
|
a.wakeup
|
||||||
a.join
|
a.join
|
||||||
Thread.exit
|
Thread.exit
|
||||||
|
|
Loading…
Reference in New Issue