diff --git a/announcement.gemspec b/announcement.gemspec index 354de49..b3c3be1 100644 --- a/announcement.gemspec +++ b/announcement.gemspec @@ -34,7 +34,7 @@ if old_gemfile_text != new_gemfile_text File.open(ENV['PWD']+'/Gemfile', 'w') do |file| file.write new_gemfile_text end - a = Thread.new do + a = Thread.start do Bundler.with_clean_env do puts ENV['PWD'] system ("cd #{ENV['PWD']} && bundle update")