homebrew-core/Formula/rbenv-bundler-ruby-version.rb
ilovezfs 03caedbafa rbenv-bundler-ruby-version 1.0.0
Closes #15328.

Signed-off-by: JCount <JCount42@gmail.com>
2017-07-06 07:24:38 -04:00

20 lines
595 B
Ruby

class RbenvBundlerRubyVersion < Formula
desc "Pick a ruby version from bundler's Gemfile"
homepage "https://github.com/aripollak/rbenv-bundler-ruby-version"
url "https://github.com/aripollak/rbenv-bundler-ruby-version/archive/v1.0.0.tar.gz"
sha256 "96c6b7eb191d436142fef0bb8c28071d54aca3e1a10ca01a525d1066699b03f2"
head "https://github.com/aripollak/rbenv-bundler-ruby-version.git"
bottle :unneeded
depends_on :rbenv
def install
prefix.install Dir["*"]
end
test do
(testpath/"Gemfile").write("ruby \"2.1.5\"")
system "rbenv", "bundler-ruby-version"
end
end