Skip to content

An Ansible Role for setting up a Ruby development environment.

License

Notifications You must be signed in to change notification settings

naftulikay/ansible-role-ruby-dev

Repository files navigation

ansible-role-ruby-dev Build Status

Installs and configures a Ruby development environment for a given user using rbenv.

Available on Ansible Galaxy at naftulikay.ruby-dev.

Requirements

Officially tested operating systems are listed in the Galaxy manifest.

Role Variables

ruby_user
User to install Ruby tools for. Required.
ruby_version
Version of Ruby to install. Defaults to 2.4.1.

Dependencies

None.

Example Playbook

Here are some example playbooks to get started with.

Defaults

Simply get a Ruby development environment installed:

---
- name: install
  hosts: all
  become: true
  roles:
    - role: ruby-dev
      ruby_user: vagrant

Install a Specific Version

Install a specific version of Ruby:

---
  - name: install
    hosts: all
    become: true
    roles:
      - role: ruby-dev
        ruby_user: vagrant
        ruby_version: '2.4.3'

License

MIT

About

An Ansible Role for setting up a Ruby development environment.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published