mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-27 19:39:48 -05:00
These formulae allow an rbenv user to use fuzzy version matching when
switching Ruby versions.
$ rbenv whatis 1.8.7
1.8.7-p374
$ rbenv whatis 2
2.0.0-p247
$ rbenv use 1.8.7
$ rbenv version
1.8.7-p374 (set by RBENV_VERSION environment variable)
Closes #21152.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
14 lines
287 B
Ruby
14 lines
287 B
Ruby
require 'formula'
|
|
|
|
class RbenvWhatis < Formula
|
|
homepage 'https://github.com/rkh/rbenv-whatis'
|
|
url 'https://github.com/rkh/rbenv-whatis/archive/9bf9f2.tar.gz'
|
|
sha1 'a78eb1ce44974d7080087f96d8b17f1334b9e03c'
|
|
|
|
depends_on 'rbenv'
|
|
|
|
def install
|
|
prefix.install Dir['*']
|
|
end
|
|
end
|