diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2007-03-06 09:22:07 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2007-03-06 09:22:07 +0000 |
commit | 8dfe5b78fa4525d2d3c6167e9aea29d7756b5eb7 (patch) | |
tree | e2285428760d0669dbe4867ad228051fad3188db /railties/lib/tasks | |
parent | e17df19b86a2ad0ed8c5657ef046c3e82cf6d63b (diff) | |
download | rails-8dfe5b78fa4525d2d3c6167e9aea29d7756b5eb7.tar.gz rails-8dfe5b78fa4525d2d3c6167e9aea29d7756b5eb7.tar.bz2 rails-8dfe5b78fa4525d2d3c6167e9aea29d7756b5eb7.zip |
Windows: include MinGW in RUBY_PLATFORM check. Closes #2982.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6344 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib/tasks')
-rw-r--r-- | railties/lib/tasks/testing.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/tasks/testing.rake b/railties/lib/tasks/testing.rake index ba50a365c3..b9df35c6b4 100644 --- a/railties/lib/tasks/testing.rake +++ b/railties/lib/tasks/testing.rake @@ -30,7 +30,7 @@ end module Kernel def silence_stderr old_stderr = STDERR.dup - STDERR.reopen(RUBY_PLATFORM =~ /mswin/ ? 'NUL:' : '/dev/null') + STDERR.reopen(RUBY_PLATFORM =~ /(:?mswin|mingw)/ ? 'NUL:' : '/dev/null') STDERR.sync = true yield ensure |