Update announcement.gemspec

This commit is contained in:
chiu 2020-02-14 12:32:15 +08:00
parent c1dece9d70
commit 98e1830b6b
1 changed files with 5 additions and 1 deletions

View File

@ -34,12 +34,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
Bundler.with_clean_env do Bundler.with_clean_env do
puts ENV['PWD'] puts ENV['PWD']
sleep 0.5 sleep 0.5
system ("cd #{ENV['PWD']} && bundle update") system ("cd #{ENV['PWD']} && bundle update")
puts 'test123' puts 'test123'
end end
end
a.priority = Thread.current.priority +1
puts '123'
#Thread.exit #Thread.exit
end end
# Describe your gem and declare its dependencies: # Describe your gem and declare its dependencies: