Sha256: d64bac8f60d52570aa56fedfc0a7a41c62c73b9a562f4f03e83fa511c3f2f3d0
Contents?: true
Size: 509 Bytes
Versions: 6
Compression:
Stored size: 509 Bytes
Contents
require 'rocket_fuel/precheck/check' module RocketFuel module Precheck class CurlCheck < Check check_name :curl register! def ok? installed? end def check? RocketFuel::SystemDetails.platform_family?(:linux) end protected def installed? `curl --help` $?.exitstatus == 0 end def failure_message 'curl NOT found.' end def success_message 'curl found.' end end end end
Version data entries
6 entries across 6 versions & 1 rubygems