bin/update_rubygems in rubygems-update-3.1.1 vs bin/update_rubygems in rubygems-update-3.1.2
- old
+ new
@@ -30,7 +30,7 @@
puts "E.g. gem uninstall rubygems-update"
else
update_dir = File.dirname(update_dir)
Dir.chdir update_dir
ENV["GEM_PREV_VER"] = Gem::VERSION
- system(Gem.ruby, 'setup.rb', *ARGV)
+ abort unless system(Gem.ruby, 'setup.rb', *ARGV)
end