18 lines
485 B
Ruby
18 lines
485 B
Ruby
class RbenvCommunalGems < Formula
|
|
desc "Share gems across multiple rbenv Ruby installs"
|
|
homepage "https://github.com/tpope/rbenv-communal-gems"
|
|
url "https://github.com/tpope/rbenv-communal-gems/archive/v1.0.1.tar.gz"
|
|
sha256 "99f1c0be6721e25037f964015cbd2622d70603ceeeaef58f040410ac3697d766"
|
|
|
|
bottle :unneeded
|
|
|
|
depends_on :rbenv
|
|
|
|
def install
|
|
prefix.install Dir["*"]
|
|
end
|
|
|
|
test do
|
|
assert_match "communal-gems.bash", shell_output("rbenv hooks install")
|
|
end
|
|
end
|