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