{"id":14110166,"url":"https://github.com/zzet/rbenv","last_synced_at":"2025-04-06T07:13:26.190Z","repository":{"id":12777247,"uuid":"15450754","full_name":"zzet/rbenv","owner":"zzet","description":"Ansible role for installing rbenv.","archived":false,"fork":false,"pushed_at":"2023-07-08T00:37:49.000Z","size":140,"stargazers_count":189,"open_issues_count":30,"forks_count":111,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-30T06:05:31.704Z","etag":null,"topics":["ansible-role","rbenv","rbenv-installation","ruby"],"latest_commit_sha":null,"homepage":"https://galaxy.ansible.com/zzet/rbenv/","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zzet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2013-12-26T10:30:36.000Z","updated_at":"2024-12-14T17:01:23.000Z","dependencies_parsed_at":"2024-01-08T07:56:51.822Z","dependency_job_id":"97d4c78c-bc8b-4806-9d9a-3f47d9f5997f","html_url":"https://github.com/zzet/rbenv","commit_stats":null,"previous_names":[],"tags_count":63,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zzet%2Frbenv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zzet%2Frbenv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zzet%2Frbenv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zzet%2Frbenv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zzet","download_url":"https://codeload.github.com/zzet/rbenv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247445671,"owners_count":20939958,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible-role","rbenv","rbenv-installation","ruby"],"created_at":"2024-08-14T10:02:41.834Z","updated_at":"2025-04-06T07:13:26.172Z","avatar_url":"https://github.com/zzet.png","language":"Ruby","readme":"rbenv\n========\n\nRole for installing [rbenv](https://github.com/sstephenson/rbenv).\n\nRole ready status\n------------\n\n[![Build Status](https://travis-ci.org/zzet/ansible-rbenv-role.png?branch=master)](https://travis-ci.org/zzet/ansible-rbenv-role)\n\nRequirements\n------------\n\nnone\n\nRole Variables\n--------------\n\nDefault variables are:\n\n    rbenv:\n      env: system\n      version: v1.0.0\n      default_ruby: 2.4.2\n      rubies:\n        - version: 2.4.2\n\n    rbenv_clean_up: false\n\n    rbenv_repo: \"https://github.com/rbenv/rbenv.git\"\n\n    rbenv_plugins:\n      - { name: \"rbenv-vars\",\n          repo: \"https://github.com/rbenv/rbenv-vars.git\",\n          version: \"master\" }\n\n      - { name: \"ruby-build\",\n          repo: \"https://github.com/rbenv/ruby-build.git\",\n          version: \"master\" }\n\n      - { name: \"rbenv-default-gems\",\n          repo: \"https://github.com/rbenv/rbenv-default-gems.git\",\n          version: \"master\" }\n\n      - { name: \"rbenv-installer\",\n          repo: \"https://github.com/rbenv/rbenv-installer.git\",\n          version: \"master\" }\n\n      - { name: \"rbenv-update\",\n          repo: \"https://github.com/rkh/rbenv-update.git\",\n          version: \"master\" }\n\n      - { name: \"rbenv-whatis\",\n          repo: \"https://github.com/rkh/rbenv-whatis.git\",\n          version: \"master\" }\n\n      - { name: \"rbenv-use\",\n          repo: \"https://github.com/rkh/rbenv-use.git\",\n          version: \"master\" }\n\n    rbenv_root: \"{% if rbenv.env == 'system' %}/usr/local/rbenv{% else %}$HOME/.rbenv{% endif %}\"\n\n    rbenv_users: []\n\n    rbenv_extra_depends: []\n\nVariables to control a system installation (these are not set by default):\n\n    rbenv_owner: 'deploy'\n    rbenv_group: 'deploy'\n\nDescription:\n\n- ` rbenv.env ` - Type of rbenv installation. Allows 'system' or 'user' values\n- ` rbenv.version ` - Version of rbenv to install (tag from [rbenv releases page](https://github.com/sstephenson/rbenv/releases))\n- ` rbenv.default_ruby ` - Which ruby version to be set as global rbenv ruby.\n- ` rbenv.rubies ` - Versions of ruby to install. This is an array of hashes. E.g. `[ { version: 2.4.2, env: { RUBY_CONFIGURE_OPTS=\"--enable-shared\" } } ]`\n- ` rbenv_clean_up ` - Delete all ruby versions not listed above. Default value is `false`\n- ` rbenv_repo ` - Repository with source code of rbenv to install\n- ` rbenv_plugins ` - Array of Hashes with information about plugins to install\n- ` rbenv_root ` - Install path\n- ` rbenv_users ` - Array of usernames for multiuser install. User must be present in the system\n- ` rbenv_extra_depends` - Array of extra system packages to install before compiling rubies\n- ` default_gems_file ` - This is Rbenv's plugin _rbenv-default-gems_. Sets the path to a default-gems file of your choice (_don't set it_ if you want to use the default file `files/default-gems`)\n- ` rbenv_owner ` - The user  owning `rbenv_root` when `rbenv.env` is `system`\n- ` rbenv_group ` - The group owning `rbenv_root` when `rbenv.env` is `system`\n- ` rbenv_tmpdir ` - A temporary directory path used for artifacts when installing rubies. Defaults to system's `$TMPDIR`\n- ` rbenv_set_vars ` - Set default vars `GEM_PATH=$GEM_PATH:$HOME/.gems` for 'user' env. Default value is `true`\n\nExample:\n\n    - hosts: web\n      gather_facts: true # https://github.com/zzet/ansible-rbenv-role/issues/37\n      vars:\n        rbenv:\n          env: user\n          version: v0.4.0\n          default_ruby: 2.0.0-p353\n          rubies:\n          - version: 2.0.0-p353\n          - version: 2.2.4\n            env:\n              RUBY_CONFIGURE_OPTS: \"--enable-shared\"\n          - version: 2.3.4\n            env:\n              RUBY_CONFIGURE_OPTS: \"--enable-shared --with-jemalloc\"\n        rbenv_extra_depends:\n          - libjemalloc1\n          - libjemalloc-dev\n      roles:\n        - role: zzet.rbenv\n          rbenv_users:\n            - user\n\nDependencies\n------------\n\nnone\n\nLicense\n-------\n\nMIT\n\nAuthor Information\n------------------\n\n[Andrew Kumanyaev](http://github.com/zzet)\n","funding_links":[],"categories":["Ruby"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzzet%2Frbenv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzzet%2Frbenv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzzet%2Frbenv/lists"}