rbenv-bundler-ruby-version: 0.1.0 (new formula)
This installs the rbenv-bundler-ruby-version rbenv plugin. Closes Homebrew/homebrew#34237. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
bce8cbf16a
commit
63b1301ca6
1 changed files with 20 additions and 0 deletions
20
Formula/rbenv-bundler-ruby-version.rb
Normal file
20
Formula/rbenv-bundler-ruby-version.rb
Normal file
|
@ -0,0 +1,20 @@
|
|||
require "formula"
|
||||
|
||||
class RbenvBundlerRubyVersion < Formula
|
||||
homepage "https://github.com/aripollak/rbenv-bundler-ruby-version"
|
||||
url "https://github.com/aripollak/rbenv-bundler-ruby-version/archive/v0.1.tar.gz"
|
||||
sha1 "4a5190d896aaebdb103ffeae61dd4eace7c0fd4c"
|
||||
|
||||
head "https://github.com/aripollak/rbenv-bundler-ruby-version.git"
|
||||
|
||||
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
|
Loading…
Reference in a new issue