homebrew-core/Formula/rbenv.rb
Attila Györffy fadd2315c6 rbenv: update caveats to only load if present
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-05-21 20:40:17 -07:00

19 lines
478 B
Ruby

require 'formula'
class Rbenv < Formula
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'
def install
prefix.install Dir['*']
end
def caveats; <<-EOS.undent
To enable shims and autocompletion, add rbenv init to your profile:
if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi
EOS
end
end