aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/plenv.rb9
1 files changed, 6 insertions, 3 deletions
diff --git a/Library/Formula/plenv.rb b/Library/Formula/plenv.rb
index a0f2db7ec..a09547a05 100644
--- a/Library/Formula/plenv.rb
+++ b/Library/Formula/plenv.rb
@@ -2,13 +2,16 @@ require 'formula'
class Plenv < Formula
homepage 'https://github.com/tokuhirom/plenv'
- url 'https://github.com/tokuhirom/plenv/archive/1.4.15.tar.gz'
- sha1 '34c8524b990010c6d1d1d8508b880904b327fe03'
+ url 'https://github.com/tokuhirom/plenv/archive/1.9.4.tar.gz'
+ sha1 'e7f7c5ad7cf5852af7766a4d9f812c298d547f65'
head 'https://github.com/tokuhirom/plenv.git'
def install
- prefix.install 'bin', 'share'
+ prefix.install 'bin', 'plenv.d', 'completions', 'libexec'
+
+ # Run rehash after installing.
+ system "#{bin}/plenv", "rehash"
end
def caveats; <<-EOS.undent