Sha256: 78b1399f9315ac9d180ec3a14a031b495ddf1118e9095f93d5fda9a6d72c57d7
Contents?: true
Size: 430 Bytes
Versions: 21
Compression:
Stored size: 430 Bytes
Contents
module BinInstall module Redis def self.install puts 'Installing Redis...'.white Brew::Package.install_or_upgrade('redis') Brew::Service.start!('redis') end def self.install! puts 'Installing Redis...'.white Brew::Package.install_or_upgrade!('redis') Brew::Service.start!('redis') end def self.installed? Shell.executable_exists?('redis-server') end end end
Version data entries
21 entries across 21 versions & 1 rubygems