require 'formula' class RubyBuild < Formula homepage 'https://github.com/sstephenson/ruby-build' url 'https://github.com/sstephenson/ruby-build/tarball/v20120423' md5 'f2525a8930721a564b0cca15afd46ecf' head 'https://github.com/sstephenson/ruby-build.git' def install ENV['PREFIX'] = prefix system "./install.sh" end end