From 2a73b5999e27e4c6dd052013bf814c6be965f56a Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Fri, 27 Mar 2015 21:01:54 +0900 Subject: [PATCH] wrap "require 'drb/unix'" by bgin-end at test/abstract_unit.rb Related: #19617, #19187, #19533, #19689, #19675. 'drb/unix' does not exist on mingw. --- actionpack/test/abstract_unit.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/actionpack/test/abstract_unit.rb b/actionpack/test/abstract_unit.rb index 62ff1be5c9..c1be2c9afe 100644 --- a/actionpack/test/abstract_unit.rb +++ b/actionpack/test/abstract_unit.rb @@ -14,7 +14,11 @@ silence_warnings do end require 'drb' -require 'drb/unix' +begin + require 'drb/unix' +rescue LoadError + puts "'drb/unix' is not available" +end require 'tempfile' PROCESS_COUNT = (ENV['N'] || 4).to_i