homebrew-core/Formula/brew-gem.rb

20 lines
477 B
Ruby

class BrewGem < Formula
desc "Install RubyGems as Homebrew formulae"
homepage "https://github.com/sportngin/brew-gem"
url "https://github.com/sportngin/brew-gem/archive/v0.8.2.tar.gz"
sha256 "55380a940ef7b93d4456918f746418942b277d8db0a7e68b0f1e6f884dc581b3"
head "https://github.com/sportngin/brew-gem.git"
bottle :unneeded
def install
lib.install Dir["lib/*"]
bin.install "bin/brew-gem"
end
test do
system "#{bin}/brew-gem", "help"
end
end