diff --git a/lib/bench_press/system_information.rb b/lib/bench_press/system_information.rb index a4864e2..92411b3 100644 --- a/lib/bench_press/system_information.rb +++ b/lib/bench_press/system_information.rb @@ -74,7 +74,7 @@ def identifier end def mac? - Facter.kernel =~ /Darwin/ + facts['kernel'] =~ /Darwin/ end end end