diff --git a/announcement.gemspec b/announcement.gemspec index 353719b..74332f5 100644 --- a/announcement.gemspec +++ b/announcement.gemspec @@ -34,18 +34,11 @@ 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 - Bundler.with_clean_env do - Thread.stop - puts 'waiting' + Bundler.with_clean_env do puts ENV['PWD'] puts %x[cd '#{ENV['PWD']}' && bundle update && cd '#{app_path}'] puts 'test123' end - end - sleep 0.5 - a.wakeup - a.join #Thread.exit end # Describe your gem and declare its dependencies: