homebrew-core/Formula/ruby-build.rb
Mislav Marohnić b8d20f3a57 ruby-build 20191205
Created by https://github.com/mislav/bump-homebrew-formula-action

Closes #47516.

Signed-off-by: Alexander Bayandin <a.bayandin@gmail.com>
2019-12-05 11:53:57 +00:00

22 lines
592 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/v20191205.tar.gz"
sha256 "d8ffe806a215b3afacead72e766f293ce380c78a143911b84cdb5f33e20a5284"
head "https://github.com/rbenv/ruby-build.git"
bottle :unneeded
depends_on "autoconf"
depends_on "pkg-config"
depends_on "readline"
def install
ENV["PREFIX"] = prefix
system "./install.sh"
end
test do
assert_match "2.0.0", shell_output("#{bin}/ruby-build --definitions")
end
end