aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2012-02-18 14:01:32 -0800
committerAdam Vandenberg2012-02-18 14:01:55 -0800
commitd80aa931c011e38221d7bd1821ae12ae0b69714c (patch)
tree1204bbab1d7c411a46610a967bbd9a391c66ccc0 /Library/Formula
parent03861640683fc768fb6e84bc149542906fae0db1 (diff)
downloadhomebrew-d80aa931c011e38221d7bd1821ae12ae0b69714c.tar.bz2
rbenv: add caveats
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/rbenv.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/Library/Formula/rbenv.rb b/Library/Formula/rbenv.rb
index 597ec725e..563049111 100644
--- a/Library/Formula/rbenv.rb
+++ b/Library/Formula/rbenv.rb
@@ -1,8 +1,8 @@
require 'formula'
class Rbenv < Formula
- url 'https://github.com/sstephenson/rbenv/tarball/v0.3.0'
homepage 'https://github.com/sstephenson/rbenv'
+ url 'https://github.com/sstephenson/rbenv/tarball/v0.3.0'
md5 '26e00faff3ba04fdeeeecb0bfbf96351'
head 'https://github.com/sstephenson/rbenv.git'
@@ -10,4 +10,10 @@ class Rbenv < Formula
def install
prefix.install Dir['*']
end
+
+ def caveats; <<-EOS.undent
+ To enable shims and autocompletion, add rbenv init to your profile:
+ eval "$(rbenv init -)"
+ EOS
+ end
end