Sha256: 0e56cbdfecfa6ac6993b7b1143f276d932b4573f26f824273759ed1819c3c646

Contents?: true

Size: 358 Bytes

Versions: 4

Compression:

Stored size: 358 Bytes

Contents

module BinInstall
  module Redis
    def self.install
      puts 'Installing Redis...'.white
      Brew::Package.install_or_upgrade('redis')
    end

    def self.install!
      puts 'Installing Redis...'.white
      Brew::Package.install_or_upgrade!('redis')
    end

    def self.installed?
      Shell.executable_exists?('redis-server')
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bin_install-0.0.12 lib/bin_install/redis.rb
bin_install-0.0.11 lib/bin_install/redis.rb
bin_install-0.0.10 lib/bin_install/redis.rb
bin_install-0.0.9 lib/bin_install/redis.rb