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