homebrew-core/Formula/rbenv.rb

20 lines
441 B
Ruby
Raw Normal View History

require 'formula'
class Rbenv < Formula
homepage 'https://github.com/sstephenson/rbenv'
2012-02-18 22:01:32 +00:00
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
2012-02-18 22:01:32 +00:00
def caveats; <<-EOS.undent
To enable shims and autocompletion, add rbenv init to your profile:
eval "$(rbenv init -)"
EOS
end
end