aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ruby-install.rb
diff options
context:
space:
mode:
authorhavenwood2013-06-19 13:28:42 -0700
committerJack Nagel2013-06-19 19:42:00 -0500
commiteb7bcdcfcedbfeb0922ed9bdfb894f4182ab9a16 (patch)
tree44d7912e30692fd7848b507f2a9b24e1f564bfb9 /Library/Formula/ruby-install.rb
parent1aaf392279019be991f1901442e27e977962955f (diff)
downloadhomebrew-eb7bcdcfcedbfeb0922ed9bdfb894f4182ab9a16.tar.bz2
New formula: ruby-install
Closes #20610. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/ruby-install.rb')
-rw-r--r--Library/Formula/ruby-install.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/Library/Formula/ruby-install.rb b/Library/Formula/ruby-install.rb
new file mode 100644
index 000000000..fbc3debd2
--- /dev/null
+++ b/Library/Formula/ruby-install.rb
@@ -0,0 +1,13 @@
+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