暫無描述

002-minitest-remove_gems_dep.patch 407B

12345678910111213
  1. --- ruby-2.1.2.orig/lib/minitest/autorun.rb 2014-09-03 02:22:29.769909573 -0300
  2. +++ ruby-2.1.2/lib/minitest/autorun.rb 2014-09-03 02:22:29.768909580 -0300
  3. @@ -6,8 +6,9 @@
  4. ######################################################################
  5. begin
  6. - require 'rubygems'
  7. gem 'minitest'
  8. +rescue NameError => e # --disable-gems
  9. + raise unless e.name == :gem
  10. rescue Gem::LoadError
  11. # do nothing
  12. end