diff options
author | Matthew Draper <matthew@trebex.net> | 2017-08-02 21:59:42 +0930 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-02 21:59:42 +0930 |
commit | 869cb93de12141425b73f43e93f6e3730147b0ed (patch) | |
tree | 3df573074150a25e08af189b5091b3e20e10aa5f /actionview | |
parent | 686261f0df560cd720231365499ac116f2024a32 (diff) | |
parent | 7f89d4e8bf1a8656dee77cc606c53b3a35e4651a (diff) | |
download | rails-869cb93de12141425b73f43e93f6e3730147b0ed.tar.gz rails-869cb93de12141425b73f43e93f6e3730147b0ed.tar.bz2 rails-869cb93de12141425b73f43e93f6e3730147b0ed.zip |
Merge pull request #29958 from znz/file-null
Use File::NULL instead of "/dev/null"
Diffstat (limited to 'actionview')
-rw-r--r-- | actionview/Rakefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/Rakefile b/actionview/Rakefile index 0d974cb087..20dfa4e114 100644 --- a/actionview/Rakefile +++ b/actionview/Rakefile @@ -37,7 +37,7 @@ namespace :test do start_time = Time.now loop do - break if system("lsof -i :4567 >/dev/null") + break if system("lsof -i :4567", 1 => File::NULL) if Time.now - start_time > 5 puts "Timed out after 5 seconds" |