{"id":25175029,"url":"https://github.com/mediafellows/ansible-role-ruby","last_synced_at":"2026-05-03T02:37:42.338Z","repository":{"id":54671171,"uuid":"252698930","full_name":"mediafellows/ansible-role-ruby","owner":"mediafellows","description":"Ansible Role - Installs ruby using ruby-install","archived":false,"fork":false,"pushed_at":"2024-07-31T16:20:17.000Z","size":88,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-04T00:44:41.710Z","etag":null,"topics":["ansible-role","fork","ruby-install"],"latest_commit_sha":null,"homepage":"https://github.com/innohub-ansible/ruby-install","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mediafellows.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-03T10:19:37.000Z","updated_at":"2024-07-31T16:20:21.000Z","dependencies_parsed_at":"2025-02-09T12:39:28.336Z","dependency_job_id":null,"html_url":"https://github.com/mediafellows/ansible-role-ruby","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mediafellows/ansible-role-ruby","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mediafellows%2Fansible-role-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mediafellows%2Fansible-role-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mediafellows%2Fansible-role-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mediafellows%2Fansible-role-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mediafellows","download_url":"https://codeload.github.com/mediafellows/ansible-role-ruby/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mediafellows%2Fansible-role-ruby/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32556771,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T00:31:16.350Z","status":"online","status_checked_at":"2026-05-03T02:00:09.297Z","response_time":103,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","fork","ruby-install"],"created_at":"2025-02-09T12:28:41.151Z","updated_at":"2026-05-03T02:37:42.311Z","avatar_url":"https://github.com/mediafellows.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Ansible-Test](https://github.com/mediafellows/ansible-role-ruby/workflows/Ansible-Test/badge.svg)](https://github.com/mediafellows/ansible-role-ruby/actions?query=workflow%3AAnsible-Test)\n\n# Ansible role ruby\n\nInstalls ruby with the help of the [ruby-install](https://github.com/postmodern/ruby-install) tool. Just provide a ruby version\nnumber (and optionally the ruby edition, see below) and this role will take care of the rest.\n\nDoes a clean ruby install by downloading and compiling ruby (no rvm/rbenv/chruby/package repo business),\nsee [ruby-install](https://github.com/postmodern/ruby-install). Once installed the ruby version is linked from `/usr/local/bin`\nto make it the system wide default version. So this role is most practical for server installation where you don't have the\nneed to juggle multiple ruby versions on the same machine.\n\nThis role also installs the bundler gem for you. So you are ready to go right away!\n\n## Credits\nBased on the two existing ansible roles:\n* innohub-ansible.ruby-install - [Github](https://github.com/innohub-ansible/ruby-install), [Galaxy](https://galaxy.ansible.com/list#/roles/1766)\n* joshualund.ruby-common - [Github](https://github.com/jlund/ansible-ruby-common), [Galaxy](https://galaxy.ansible.com/list#/roles/143)\n\n## Requirements\nTested only on Ubuntu 14.04 Trusty Server. Supports only Ubuntu and perhaps Debian based systems (apt).\n\n## Role Variables\n* ruby_version_string: Edition and version of ruby you want to have installed. Default to ruby (MRI) 2.2.3.\nSo you can either just do a version like `2.2.1` if you want just standard (MRI) ruby. Or prepend the version with a edition.\nFor example `jruby-1.7`\n\nOptionally you can also specify the version of the ruby-install script\nwith `ruby_install_version`.\n\nSee more (less relevant) variables you can modify in `defaults/main.yml`.\n\n## Dependencies\nNeeds no other Ansible roles to run.\n\n## Example Playbook\nExample Playbook integration:\n```yaml\n- hosts: servers\n  roles:\n     { role: mediafellows.ruby, ruby_version_string: 2.2.3 }\n```\nAlso works with jruby (or any ruby that [ruby-install supports](https://github.com/postmodern/ruby-install/blob/master/README.md)).\nExample: `ruby_version_string: jruby-1.7.21`. So the version directive works like the one found in [`.ruby-version` files](https://gist.github.com/fnichol/1912050).\n\n## License\nMIT License. As I based my work on above metioned projects. See LICENSE file for full text.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmediafellows%2Fansible-role-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmediafellows%2Fansible-role-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmediafellows%2Fansible-role-ruby/lists"}