Sha256: b0555f48627f551f4c631a894f9524f4259de5376540c834a9b3ed67a49ea6da
Contents?: true
Size: 531 Bytes
Versions: 32
Compression:
Stored size: 531 Bytes
Contents
module DockerSync module Dependencies module PackageManager class Yum < Base YUM_NOT_AVAILABLE = 'Yum is not installed. Please install it and try again.'.freeze def self.available? return @available if defined? @available @available = find_executable0('yum') end def self.ensure! raise(YUM_NOT_AVAILABLE) unless available? end private def install_cmd "yum install -y #{package}" end end end end end
Version data entries
32 entries across 32 versions & 1 rubygems