1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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.
This commit is contained in:
Toshi MARUYAMA 2015-03-27 21:01:54 +09:00 committed by Rafael Mendonça França
parent 7008dfba66
commit 2a73b5999e

View file

@ -14,7 +14,11 @@ silence_warnings do
end end
require 'drb' require 'drb'
require 'drb/unix' begin
require 'drb/unix'
rescue LoadError
puts "'drb/unix' is not available"
end
require 'tempfile' require 'tempfile'
PROCESS_COUNT = (ENV['N'] || 4).to_i PROCESS_COUNT = (ENV['N'] || 4).to_i