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