Use this role to install Ruby from source in /usr/local/ on Debian based systems or using the package manager on OpenBSD. After installing Ruby it will also install Bundler, so users of the system can install their dependencies in a local bundler directory.
This role will work on Debian based systems and OpenBSD.
Optionally override ruby_version
and ruby_sha256
to install a different ruby version.
None.
The following playbook will install Ruby 2.1.6 instead of the role defined version.
- hosts: servers
vars:
- ruby_version: 2.1.6
- ruby_sha256: 1e1362ae7427c91fa53dc9c05aee4ee200e2d7d8970a891c5bd76bee28d28be4
roles:
- ivaldi.ruby
BSD
Developed by Frank Groeneveld for use by Ivaldi.