This commit is contained in:
chiu 2020-02-14 11:12:10 +08:00
parent cc4c8bd9b1
commit 6feaf66391
1 changed files with 3 additions and 1 deletions

View File

@ -33,11 +33,13 @@ if old_gemfile_text != new_gemfile_text
File.open(ENV['PWD']+'/Gemfile', 'w') do |file|
file.write new_gemfile_text
end
Thread.current = Thread.new do
a = Thread.new do
Bundler.with_clean_env do
system("bundle update")
end
end
a.join()
Thread.exit
end
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|