homebrew-core/Formula/ruby-build.rb
SHIBATA Hiroshi d78f6f3781
ruby-build 20190314
Closes #37887.

Signed-off-by: Chongyu Zhu <i@lembacon.com>
2019-03-14 11:03:54 +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/v20190314.tar.gz"
sha256 "2cc0f9fdb232042e71edad93a5c3ae108bcd090ea0b6db4e5bb6325547e07968"
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