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

class RbenvBundler < Formula
  homepage 'https://github.com/carsomyr/rbenv-bundler'
  url 'https://github.com/carsomyr/rbenv-bundler/tarball/0.95'
  sha1 '68f34b7d9e123d93f51fe5fcca585fdaf3cd31e7'

  depends_on 'rbenv'

  def install
    prefix.install Dir['*']

    ln_sf opt_prefix, "#{HOMEBREW_PREFIX}/var/lib/rbenv/plugins/#{name}"
  end

  def caveats; <<-EOS.undent
    rbenv-bundler may cause problems with rbenv including significant slowdown
    of shell initialisation and rehashing.

    Please report any issues with rbenv after installing this plugin here:
    https://github.com/carsomyr/rbenv-bundler/issues/new
    EOS
  end
end