Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

rvm_io (5) Versions 0.2.0

Installs/Configures RVM, and intalls Rubies

Policyfile
Berkshelf
Knife
cookbook 'rvm_io', '= 0.2.0', :supermarket
cookbook 'rvm_io', '= 0.2.0'
knife supermarket install rvm_io
knife supermarket download rvm_io
README
Dependencies
Changelog
Quality -%

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.

No quality metric results found