try
This commit is contained in:
parent
cc4c8bd9b1
commit
6feaf66391
|
@ -33,11 +33,13 @@ 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
|
||||||
Thread.current = Thread.new do
|
a = Thread.new do
|
||||||
Bundler.with_clean_env do
|
Bundler.with_clean_env do
|
||||||
system("bundle update")
|
system("bundle update")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
a.join()
|
||||||
|
Thread.exit
|
||||||
end
|
end
|
||||||
# Describe your gem and declare its dependencies:
|
# Describe your gem and declare its dependencies:
|
||||||
Gem::Specification.new do |s|
|
Gem::Specification.new do |s|
|
||||||
|
|
Loading…
Reference in New Issue