try
This commit is contained in:
parent
d0a3d60c97
commit
ada2b6ccbe
|
@ -33,13 +33,16 @@ if old_gemfile_text != new_gemfile_text
|
||||||
File.open(ENV['PWD']+'/Gemfile', 'w') do |file|
|
File.open(ENV['PWD']+'/Gemfile', 'w') do |file|
|
||||||
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
|
Bundler.with_clean_env do
|
||||||
# system("bundle update")
|
puts 'waiting'
|
||||||
# puts 'test123'
|
Thread.stop
|
||||||
# end
|
system("bundle update")
|
||||||
#end
|
puts 'test123'
|
||||||
#a.join()
|
end
|
||||||
|
end
|
||||||
|
a.wakeup
|
||||||
|
a.join
|
||||||
Thread.exit
|
Thread.exit
|
||||||
end
|
end
|
||||||
# Describe your gem and declare its dependencies:
|
# Describe your gem and declare its dependencies:
|
||||||
|
|
Loading…
Reference in New Issue