homebrew-core/Formula/ruby-build.rb
SHIBATA Hiroshi f4a7efea39
ruby-build 20161115
Closes #6932.

Signed-off-by: Alex Dunn <dunn.alex@gmail.com>
2016-11-15 18:25:57 -08:00

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