diff --git a/announcement.gemspec b/announcement.gemspec index 61eec2b..811c6e2 100644 --- a/announcement.gemspec +++ b/announcement.gemspec @@ -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: