aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ruby-install.rb
diff options
context:
space:
mode:
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