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


chef_ruby (2) Versions 2.1.1

Installs Ruby 1.9 from source

cookbook 'chef_ruby', '= 2.1.1', :supermarket
cookbook 'chef_ruby', '= 2.1.1'
knife supermarket install chef_ruby
knife supermarket download chef_ruby
Quality -%


Installs Ruby 1.9.x from source.


RVM in conjunction with Chef is shit.

Cookbook Requirements

  • apt
  • build-essential


  • default[:chef_ruby][:version] = "1.9.3-p194": string containing the ruby version you want to install.
  • default[:chef_ruby][:rubygems][:version] = "1.8.25": string containing the rubygems version you want to install.


  • default: installs Ruby from source.


When setting up a system for the first time, Ohai will profile it and then store the ruby directory as /opt/chef/embedded/lib/ruby.
This attribute (normally referenced in cookbooks as languages[:ruby][:gems_dir]) does not get reset automatically when a new Ruby is
installed. The default recipe tells Ohai to reload its attributes. Adding this block to any recipe that uses the attribute languages[:ruby][:gems_dir];
then, whenever Ohai reloads its attributes, your cookbook will also reload its attributes.

ruby_block "reload_ruby" do
  block do
    node.load_attribute_by_short_filename('<filename of attributes, eg default>', '<name of cookbook that contains the attributes>')

  action :nothing
  subscribes :create, "ohai[reload]", :immediately

This cookbook was originally written by Carlo Zottmann but he seems to have stopped maintaining it. Now it is maintained
by Lytro.
* Written by Anuj Biyani for Lytro
* Liability in case of anything: definitely not me.
* License: WTFPL.

No quality metric results found