require 'formula' class RubyInstall < Formula homepage 'https://github.com/postmodern/ruby-install#readme' url 'https://github.com/postmodern/ruby-install/archive/v0.2.0.tar.gz' sha1 '96901c36d163362214882541e9fe38fceba7bf97' head 'https://github.com/postmodern/ruby-install.git' def install system 'make', 'install', "PREFIX=#{prefix}" end end