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:
parent
7008dfba66
commit
2a73b5999e
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue