aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/rbenv-use.rb
blob: 7c6c502fd4cda98f3116e9bb67349b7db953f671 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class RbenvUse < Formula
  homepage "https://github.com/rkh/rbenv-use"
  url "https://github.com/rkh/rbenv-use/archive/v1.0.0.tar.gz"
  sha1 "39beb889704bc51213665fd994417ab0668c5f83"

  depends_on "rbenv"
  depends_on "rbenv-whatis"

  def install
    prefix.install Dir["*"]
  end

  test do
    shell_output("eval \"$(rbenv init -)\" && rbenv use system")
  end
end