Files
Mislav Marohnić 9064d9a1e4 ruby-build 20150928
Closes #44400.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-09-28 14:37:35 +02:00

22 lines
624 B
Ruby

class RubyBuild < Formula
desc "Install various Ruby versions and implementations"
homepage "https://github.com/sstephenson/ruby-build"
url "https://github.com/sstephenson/ruby-build/archive/v20150928.tar.gz"
sha256 "3c8995d41978431dd08ed1748c909289a858d1af216ac5cc8a101717cb1716cd"
head "https://github.com/sstephenson/ruby-build.git"
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", "--version"
end
end