diff options
author | Anil Wadghule <anildigital@gmail.com> | 2010-04-14 00:56:58 +0530 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2010-04-13 12:39:03 -0700 |
commit | 518891f4907c9967cad22552eac110e81a0d44c0 (patch) | |
tree | 415741bfd95a70769fa5f8cbc7b6139392196d46 /railties/lib/rails/test_unit/testing.rake | |
parent | 8116a2b981b7382c467f84597e92156385f037d7 (diff) | |
download | rails-518891f4907c9967cad22552eac110e81a0d44c0.tar.gz rails-518891f4907c9967cad22552eac110e81a0d44c0.tar.bz2 rails-518891f4907c9967cad22552eac110e81a0d44c0.zip |
Use correct RUBY_PLATFORM regex for Windows env [#4385 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 23b8f92abd..83f25506cb 100644 --- a/railties/lib/rails/test_unit/testing.rake +++ b/railties/lib/rails/test_unit/testing.rake @@ -30,7 +30,7 @@ end module Kernel def silence_stderr old_stderr = STDERR.dup - STDERR.reopen(RUBY_PLATFORM =~ /(:?mswin|mingw)/ ? 'NUL:' : '/dev/null') + STDERR.reopen(RUBY_PLATFORM =~ /mswin|mingw/ ? 'NUL:' : '/dev/null') STDERR.sync = true yield ensure |