aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/plenv.rb19
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/plenv.rb b/Library/Formula/plenv.rb
new file mode 100644
index 000000000..90d97b590
--- /dev/null
+++ b/Library/Formula/plenv.rb
@@ -0,0 +1,19 @@
+require 'formula'
+
+class Plenv < Formula
+ homepage 'https://github.com/tokuhirom/plenv'
+ url 'https://github.com/tokuhirom/plenv/tarball/1.0.8'
+ sha1 '9babaeb2af77609a00ccdbda5a22213d7c3529dc'
+
+ head 'https://github.com/tokuhirom/plenv.git'
+
+ def install
+ prefix.install 'bin', 'share'
+ end
+
+ def caveats; <<-EOS.undent
+ To enable shims add to your profile:
+ if which plenv > /dev/null; then eval "$(plenv init -)"; fi
+ EOS
+ end
+end