Sha256: c43884d7780dd0b3e9e0a70c837b356f2479dfe17c31bb03b8db923a4d74289d

Contents?: true

Size: 256 Bytes

Versions: 1

Compression:

Stored size: 256 Bytes

Contents

module Brewdler
  class RepoInstaller
    def self.install(name)
      if `which brew`; $?.success?
        `brew tap #{name}`
      else
        raise "Unable to tap #{name}. Homebrew is not currently installed on your system"
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
brewdler-1.1.1 lib/brewdler/repo_installer.rb