summaryrefslogtreecommitdiff
path: root/lib/rake/cpu_counter.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rake/cpu_counter.rb')
-rw-r--r--lib/rake/cpu_counter.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/rake/cpu_counter.rb b/lib/rake/cpu_counter.rb
index c05b69b7a7..d7c92a6cbe 100644
--- a/lib/rake/cpu_counter.rb
+++ b/lib/rake/cpu_counter.rb
@@ -38,7 +38,8 @@ module Rake
count_via_win32 ||
count_via_sysctl ||
count_via_hwprefs_thread_count ||
- count_via_hwprefs_cpu_count
+ count_via_hwprefs_cpu_count ||
+ count_via_cpuinfo
end
end
end