User_install

March 19, 2026 ยท View on GitHub

Installs rbenv to the user path, making rbenv available to that user only.

Properties

NameTypeDefaultDescription
git_urlStringhttps://github.com/rbenv/rbenv.gitGit URL to rbenv from.
git_refStringmasterGit reference to download, can be a SHA, tag or branch name.
userStringUser to install the Ruby to.
groupStringuserGroup to create the resources with.
home_dirString::File.expand_path("~#{user}")Directory to point user_prefix to.
user_prefixString::File.join(home_dir, '.rbenv')Location to install Ruby.
update_rbenvtrue, falsetrueUpdate rbenv definitions.

Examples

rbenv_user_install 'vagrant' do
  user 'vagrant'
end