Plugin

March 19, 2026 ยท View on GitHub

Installs a rbenv plugin. If user is passed in, the plugin is installed to the users install of rbenv.

Properties

NameTypeDefaultDescription
git_urlStringGit URL to download the plugin from.
git_refStringmasterGit reference to download, can be a SHA, tag or branch name.
userStringUsername to run the script as.
root_pathStringSee root_path helperPath to install Ruby to.

Example

rbenv_plugin 'ruby-build' do
  user 'vagrant'
end