This commit is contained in:
chiu 2020-02-14 11:15:05 +08:00
parent 6b24f88895
commit d0a3d60c97
1 changed files with 7 additions and 7 deletions

View File

@ -33,13 +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
a = Thread.new do #a = Thread.new do
Bundler.with_clean_env do # Bundler.with_clean_env do
system("bundle update") # system("bundle update")
puts 'test123' # puts 'test123'
end # end
end #end
a.join() #a.join()
Thread.exit Thread.exit
end end
# Describe your gem and declare its dependencies: # Describe your gem and declare its dependencies: