rbenv

System wide rbenv

Government Digital Service

gdsoperations

18,466 downloads

4,332 latest version

4.6 quality score

Version information

  • 1.3.1 (latest)
  • 1.3.0
  • 1.2.0
  • 1.1.1
  • 1.1.0
  • 1.0.1
  • 1.0.0
released Apr 13th 2018
This version is compatible with:
  • Ubuntu

Start using this module

Tags: rbenv, ruby

Documentation

gdsoperations/rbenv — version 1.3.1 Apr 13th 2018

rbenv

Manage a single system installation of rbenv and Rubies.

This differs from existing puppet-rbenv modules in that it uses system packages for everything. It will never call git clone or rbenv install (normally provided by ruby-build).

This ensures that every install is consistent on every server. This is particularly important for Ruby, which will link to whatever libraries and headers are available on the system which it is compiled.

Examples of these packages can be seen at:

Example usage

Include:

include rbenv

Setup a version of Ruby:

rbenv::version { '1.9.3-p392':
  bundler_version => '1.3.5'
}
rbenv::alias { '1.9.3':
  to_version => '1.9.3-p392',
}

License

See LICENSE file.