rbenv-plug is an rbenv plugin that
provides rbenv plug
and rbenv unplug
command to install and uninstall
rbenv plugins.
To install plugins listed in plugins:
rbenv plug <plugin-name>
Install ruby-build:
rbenv plug ruby-build
Install rbenv-update:
rbenv plug rbenv-update
or omit rbenv-
:
rbenv plug update
Install any plugins from git repository:
rbenv plug https://github.com/rbenv/ruby-build
Uninstall rbenv-update
:
rbenv unplug rbenv-update
or omit rbenv-
:
rbenv unplug update
Simply clone the repository into the plugins directory:
git clone https://github.com/znz/rbenv-plug "$(rbenv root)/plugins/rbenv-plug"
When rbenv plug <git-url>
, install the plugin like installation above.
When rbenv plug <plugin-name>
, run script in share/rbenv-plug
.
Because most of plugins named rbenv-*
,
arguments of rbenv plug
and rbenv unplug
can omit rbenv-
.
Scripts in share/rbenv-plug
,
rbenv-aliases
runs rbenv aliases
after installation,
rbenv-use
also installs rbenv-whatis
that required from rbenv-use
.