aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/rbenv.rb
blob: a07d43fab129e1b7f66cbe8c05145315675ea210 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
require 'formula'

class Rbenv < Formula
  homepage 'https://github.com/sstephenson/rbenv'
  url 'https://github.com/sstephenson/rbenv/tarball/v0.3.0'
  sha1 'b9f78b1a10d4e225d0377cac33c1a964ee6df00b'

  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