diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2010-08-23 23:09:35 -0300 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2010-08-23 23:10:36 -0300 |
commit | bb75c337543a310ac6bed6f8e3287acf1592dac1 (patch) | |
tree | 5c2bd4eaecc7b7160302c891efe7d73a0302915b /activesupport/lib/active_support/testing | |
parent | 6f4d100761f3dd453e9049837c61d6cf025fc03c (diff) | |
download | rails-bb75c337543a310ac6bed6f8e3287acf1592dac1.tar.gz rails-bb75c337543a310ac6bed6f8e3287acf1592dac1.tar.bz2 rails-bb75c337543a310ac6bed6f8e3287acf1592dac1.zip |
Config is deprecated on 1.8.8 and 1.9.3 use RbConfig
Diffstat (limited to 'activesupport/lib/active_support/testing')
-rw-r--r-- | activesupport/lib/active_support/testing/isolation.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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) |