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

br-ruby (5) Versions 0.5.0

Installs Ruby versions

Policyfile
Berkshelf
Knife
cookbook 'br-ruby', '= 0.5.0', :supermarket
cookbook 'br-ruby', '= 0.5.0'
knife supermarket install br-ruby
knife supermarket download br-ruby
README
Dependencies
Quality 0%

Ruby Cookbook

Installs and manages Ruby versions

  1. Overview
  2. Recipes
  3. Attributes
  4. Examples
  5. Maintainers

Overview

This cookbook is designed to provide consumers with a simple solution to add and remove Ruby versions from server or application nodes.

Required configuration has been kept to a minimum, so the only attribute you need to provide to get started is ruby/versions.

Note: Built by Robots is committed to maintaining a simple, robust set of cookbooks that can be used to deploy Ruby web applications in an enterprise setting. These open source projects will be humanely maintained and will not abrutly lose support. Any future transitions of ownership or deprecation will be handled with clear communication and plenty of advance notice.

Recipes

br-ruby::default

Runs prepare, install, and clean recipes.

br-ruby::prepare

Prepares for Ruby installation by installing package dependencies and ruby-build.

br-ruby::install

Installs Ruby versions listed in versions.

br-ruby::clean

Removes Ruby versions not listed in versions.

Attributes

Key Type Description
ruby/versions Array of Strings List of Ruby versions to install
ruby/install_path String Path to install Ruby versions
ruby/owner String Owner of Ruby installation files
ruby/group String Group of Ruby installation files
ruby/mode String Mode of Ruby installation files
ruby/dependencies Array of Strings Packages needed to install Ruby
ruby/gems Hash Gems to install immediately after Ruby is installed
ruby/env Hash Environment variables to use during Ruby install
ruby/ruby-build/repository String Location of ruby-build repository
ruby/ruby-build/revision String Revision of ruby-build to use
ruby/ruby-build/install_path String Path to install ruby-build

[default values](attributes/default.rb)

Examples

Role

{
  "name": "example",
  "chef_type": "role",
  "json_class": "Chef::Role",
  "description": "Example Role",
  "run_list": ["recipe[br-ruby::default]"],
  "default_attributes": {
    "ruby": {
      "versions": ["2.2.3", "2.1.7", "2.0.0-p647"]
    }
  }
}

Maintainers

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Foodcritic Metric
            

0.5.0 failed this metric

FC016: LWRP does not declare a default action: /tmp/cook/8ca57e9f8557f98547afb075/br-ruby/resources/ruby_build.rb:1
FC016: LWRP does not declare a default action: /tmp/cook/8ca57e9f8557f98547afb075/br-ruby/resources/ruby_runtime.rb:1
FC022: Resource condition within loop may not behave as expected: /tmp/cook/8ca57e9f8557f98547afb075/br-ruby/recipes/remove.rb:9