aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/Rakefile
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <zn@mbf.nifty.com>2017-07-27 00:28:12 +0900
committerKazuhiro NISHIYAMA <zn@mbf.nifty.com>2017-07-31 21:58:42 +0900
commit7f89d4e8bf1a8656dee77cc606c53b3a35e4651a (patch)
tree3a38cc3613d548a73595136dbc68c467b1b413b7 /actionview/Rakefile
parent090eaa7e1b42143ffdb42409aa5d429cbeb3e55d (diff)
downloadrails-7f89d4e8bf1a8656dee77cc606c53b3a35e4651a.tar.gz
rails-7f89d4e8bf1a8656dee77cc606c53b3a35e4651a.tar.bz2
rails-7f89d4e8bf1a8656dee77cc606c53b3a35e4651a.zip
Use File::NULL instead of "/dev/null"
Diffstat (limited to 'actionview/Rakefile')
-rw-r--r--actionview/Rakefile2
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"