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