cookbook 'rvm_io', '= 0.2.0'
rvm_io (5) Versions 0.2.0 Follow0
Installs/Configures RVM, and intalls Rubies
cookbook 'rvm_io', '= 0.2.0', :supermarket
knife supermarket install rvm_io
knife supermarket download rvm_io
rvm_io
Installs RVM, from https://rvm.io/, and installs a Ruby for users.
This cookbook is inspiring from NikolayMurha's chef-rvm.
Requirements
Platforms
- Ubuntu 20.04 LTS
Chef
- Chef >= 16
Attributes
This cookbook supports 2 ways to install RVM:
* System wide: Installed rubies are available to all users.
* Single user: Installed rubies are available only to the given user.
Please, read the rvm.io install page in order
to be aware of the different information like never use the root
account,
the umask security risk with the system wide installtion and more!
Single user
To install RMV and Rubies for a specific user:
node['rvm_io'] = { users: { ubuntu: { rubies: { '2.7.2' => 'install' } } } }
This will installs Ruby 2.7.2 as user ubuntu
.
System wide
To install RMV and Rubies for all users:
node['rvm_io'] = { rubies: { '2.7.2' => 'install' } }
This will installs Ruby 2.7.2 for all users.
.gemrc
This cookbook also allows you to configure the .gemrc
file per users or system
wide.
Single user
node['rvm_io'] = { users: { ubuntu: { gemrc: { gem: --no-document } } } }
System wide
node['rvm_io'] = { gemrc: { gem: --no-document } }
Recipes
recipe[rvm_io::default] # Full installations recipe[rvm_io::gemrc] # Write down the .gemrc file recipe[rvm_io::install_rvm] # GPG keys and RVM installation recipe[rvm_io::packages] # Required packages recipe[rvm_io::rubies] # Installs Rubies for each given users recipe[rvm_io::rvm] # Triggers packages and then install_rvm
Author
Hydrana SAS
Dependent cookbooks
apt >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
rvm_io CHANGELOG
This file is used to list changes made in each version of the rvm_io cookbook.
0.2.0
Adds support for Single user and System wide installation
0.1.1
Adds issues_url and source_url
0.1.0
Initial release.