homebrew-core/Formula/ruby-build.rb
Michihito Shigemura 24c1729b66
ruby-build 20190401
Closes #38570.

Signed-off-by: Chongyu Zhu <i@lembacon.com>
2019-04-01 21:31:08 +08:00

22 lines
591 B
Ruby

class RubyBuild < Formula
desc "Install various Ruby versions and implementations"
homepage "https://github.com/rbenv/ruby-build"
url "https://github.com/rbenv/ruby-build/archive/v20190401.tar.gz"
sha256 "11017b1132e592efc1a01449a0d90919672778e9c5eaa0c38fd85b2488fca5da"
head "https://github.com/rbenv/ruby-build.git"
bottle :unneeded
depends_on "autoconf"
depends_on "openssl"
depends_on "pkg-config"
def install
ENV["PREFIX"] = prefix
system "./install.sh"
end
test do
assert_match "2.0.0", shell_output("#{bin}/ruby-build --definitions")
end
end