From bb75c337543a310ac6bed6f8e3287acf1592dac1 Mon Sep 17 00:00:00 2001 From: Santiago Pastorino Date: Mon, 23 Aug 2010 23:09:35 -0300 Subject: Config is deprecated on 1.8.8 and 1.9.3 use RbConfig --- activesupport/lib/active_support/testing/isolation.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activesupport/lib/active_support/testing/isolation.rb') diff --git a/activesupport/lib/active_support/testing/isolation.rb b/activesupport/lib/active_support/testing/isolation.rb index d629f6f2b7..6b29ba4c10 100644 --- a/activesupport/lib/active_support/testing/isolation.rb +++ b/activesupport/lib/active_support/testing/isolation.rb @@ -34,7 +34,7 @@ module ActiveSupport module Isolation def self.forking_env? - !ENV["NO_FORK"] && ((Config::CONFIG['host_os'] !~ /mswin|mingw/) && (RUBY_PLATFORM !~ /java/)) + !ENV["NO_FORK"] && ((RbConfig::CONFIG['host_os'] !~ /mswin|mingw/) && (RUBY_PLATFORM !~ /java/)) end def self.included(base) -- cgit v1.2.3