rbenv: add caveats

This commit is contained in:
Adam Vandenberg 2012-02-18 14:01:32 -08:00
parent b711f0b0da
commit 848ef93c03

View file

@ -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