diff options
author | Anil Wadghule <anildigital@gmail.com> | 2010-04-26 20:55:07 +0530 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2010-04-26 11:12:52 -0700 |
commit | 53c13f1acaa2eb05e7f418b53f6156a4f5a773e0 (patch) | |
tree | e6a0a66b7f4af519f03a190db5443b2e6d11fcce /railties/lib/rails/test_unit/testing.rake | |
parent | e813ad2a42549e308a69fd9473f1b9ed531a0d7e (diff) | |
download | rails-53c13f1acaa2eb05e7f418b53f6156a4f5a773e0.tar.gz rails-53c13f1acaa2eb05e7f418b53f6156a4f5a773e0.tar.bz2 rails-53c13f1acaa2eb05e7f418b53f6156a4f5a773e0.zip |
Use Config::CONFIG['host_os'] instead of RUBY_PLATFORM [#4477 state:resolved]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Diffstat (limited to 'railties/lib/rails/test_unit/testing.rake')
-rw-r--r-- | railties/lib/rails/test_unit/testing.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/test_unit/testing.rake b/railties/lib/rails/test_unit/testing.rake index f69a1169d9..79fa667ed1 100644 --- a/railties/lib/rails/test_unit/testing.rake +++ b/railties/lib/rails/test_unit/testing.rake @@ -32,7 +32,7 @@ end module Kernel def silence_stderr old_stderr = STDERR.dup - STDERR.reopen(RUBY_PLATFORM =~ /mswin|mingw/ ? 'NUL:' : '/dev/null') + STDERR.reopen(Config::CONFIG['host_os'] =~ /mswin|mingw/ ? 'NUL:' : '/dev/null') STDERR.sync = true yield ensure |