ruby-changes:21035
From: ryan <ko1@a...>
Date: Sat, 27 Aug 2011 06:51:00 +0900 (JST)
Subject: [ruby-changes:21035] ryan:r33084 (ruby_1_9_3): merged 33082-33083 from trunk
ryan 2011-08-27 06:50:50 +0900 (Sat, 27 Aug 2011) New Revision: 33084 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=33084 Log: merged 33082-33083 from trunk Modified files: branches/ruby_1_9_3/lib/minitest/autorun.rb Index: ruby_1_9_3/lib/minitest/autorun.rb =================================================================== --- ruby_1_9_3/lib/minitest/autorun.rb (revision 33083) +++ ruby_1_9_3/lib/minitest/autorun.rb (revision 33084) @@ -4,6 +4,13 @@ # File a patch instead and assign it to Ryan Davis. ###################################################################### +begin + require 'rubygems' + gem 'minitest' +rescue Gem::LoadError + # do nothing +end + require 'minitest/unit' require 'minitest/spec' require 'minitest/mock' -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/