homebrew-core/Formula/ruby-build.rb
SHIBATA Hiroshi 46df47d317
ruby-build 20190130
Closes #36553.

Signed-off-by: Chongyu Zhu <i@lembacon.com>
2019-01-31 14:16:48 +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/v20190130.tar.gz"
sha256 "d397913cf784fe295c2b6750aaa1f0b08d32fad6ccc5baeb7fb77e6c13dc28bb"
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