b8d20f3a57
Created by https://github.com/mislav/bump-homebrew-formula-action Closes #47516. Signed-off-by: Alexander Bayandin <a.bayandin@gmail.com>
22 lines
592 B
Ruby
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
|