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/v20151028.tar.gz" sha256 "3c83ae35c48869404884603b784927a8bd1d3e041c555996afb1286fc20aa708" bottle :unneeded 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", "--definitions" end end