homebrew-core/Formula/ruby-build.rb
Erik Michaels-Ober 07e41d6e48 ruby-build 20160426
Closes #631.

Signed-off-by: Andrew Janke <andrew@apjanke.net>
2016-04-26 15:10:37 -04:00

23 lines
630 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/v20160426.tar.gz"
sha256 "b4916b67b581031ded136cca3ad0e0b89828743c745eb08ed6936d4eb50d31a1"
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
system "#{bin}/ruby-build", "--definitions"
end
end