homebrew-core/Formula/rbenv-use.rb
BrewTestBot 95884bae22 Formula files style updates.
Closes Homebrew/homebrew#42407.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-03 14:21:42 +01:00

17 lines
460 B
Ruby

class RbenvUse < Formula
desc "Switch between rubies without reference to patch levels"
homepage "https://github.com/rkh/rbenv-use"
url "https://github.com/rkh/rbenv-use/archive/v1.0.0.tar.gz"
sha256 "f831dc9b8a43e30499e62928d13f5d354bf4c505b3f6b7fc1a1a9956ed9e538c"
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