by sous-chefs

sous-chefs / ruby_build

Development repository for the ruby_build cookbook

124 Stars 86 Forks Last release: Not found Apache License 2.0 311 Commits 11 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

ruby-build Chef Cookbook

Cookbook Version Build Status OpenCollective OpenCollective License


Manages the ruby-build framework and its installed Rubies, through custom resources.


This cookbook is maintained by the Sous Chefs. The Sous Chefs are a community of Chef cookbook maintainers working together to maintain important cookbooks. If you’d like to know more please visit or come chat with us on the Chef Community Slack in #sous-chefs.


It is for use in standalone mode. If you wish to use ruby-build with rbenv, please use the rbenv cookbook.



  • Chef 15+

Supported Platforms

  • Ubuntu 16.04+
  • MacOS
  • debian 8+
  • FreeBSD 9+
  • RedHat 6+


# metadata.rb
depends 'ruby_build'
# default.rb
ruby_build_install ''

ruby_build_definition '2.6.0'

build 2.6.0 with a patch that lives in your cookbook's files/default dir

ruby_build_definition '2.6.0' do patch 'foobar.patch' end


License and Author

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at


We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.