https://github.com/sous-chefs/ruby_build
Development repository for the ruby_build cookbook
https://github.com/sous-chefs/ruby_build
chef chef-cookbook chef-resource hacktoberfest managed-by-terraform ruby-build
Last synced: 3 days ago
JSON representation
Development repository for the ruby_build cookbook
- Host: GitHub
- URL: https://github.com/sous-chefs/ruby_build
- Owner: sous-chefs
- License: apache-2.0
- Created: 2011-12-10T19:22:31.000Z (almost 14 years ago)
- Default Branch: main
- Last Pushed: 2024-03-01T22:46:07.000Z (over 1 year ago)
- Last Synced: 2024-04-14T11:03:42.040Z (over 1 year ago)
- Topics: chef, chef-cookbook, chef-resource, hacktoberfest, managed-by-terraform, ruby-build
- Language: Ruby
- Homepage: https://supermarket.chef.io/cookbooks/ruby_build
- Size: 385 KB
- Stars: 123
- Watchers: 22
- Forks: 90
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# ruby-build Chef Cookbook
[](https://supermarket.chef.io/cookbooks/ruby_build)
[](#sponsors)
[](https://opensource.org/licenses/Apache-2.0)## Description
Manages the [ruby-build][rb_site] framework and its installed Rubies, through custom resources.
## Maintainers
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 [sous-chefs.org](https://sous-chefs.org/) or come chat with us on the Chef Community Slack in [#sous-chefs](https://chefcommunity.slack.com/messages/C2V7B88SF).
## Usage
It is for use in standalone mode. If you wish to use ruby-build with rbenv, please use the [rbenv cookbook][rbenv-cookbook].
## Requirements
### Chef
- Chef 15+
### Supported Platforms
- Ubuntu 16.04+
- MacOS
- debian 8+
- FreeBSD 9+
- RedHat 6+## Usage
```ruby
# metadata.rb
depends 'ruby_build'
``````ruby
# 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
```## Resources
- [ruby_build_install](https://github.com/sous-chefs/ruby_build/blob/master/documentation/resources/install.md)
- [ruby_build_definition](https://github.com/sous-chefs/ruby_build/blob/master/documentation/resources/definition.md)## 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
```text
http://www.apache.org/licenses/LICENSE-2.0
```### Sponsors
[rb_site]: https://github.com/rbenv/ruby-build
[rbenv-cookbook]: https://github.com/sous-chefs/ruby_rbenv








