Installs ruby from source. The option to install rubygems is also available via the rubygems recipe
- build-essentials tools required for compiling C code
- apt - update apt to get the latest package repositories
- yum-epel - update yum caches to get the latest package repositories
- yum
Ubuntu 14.04, CentOS 7
| Key | Type | Description | Default |
|---|---|---|---|
| [:ruby][:source_version] | String | version of ruby to install | 2.4.0 |
| [:ruby][:uninstall][:version] | String | version of ruby to install | 2.3.3 |
| [:ruby][:rubygems_version] | String | version of rubygems to install | 2.6.10 |
Just include chef-ruby in your node's run_list:
{
"name":"my_node",
"run_list": [
"recipe[chef-ruby::default]"
"recipe[chef-ruby::rubygems]"
]
}- Fork the repository on Github
- Create a named feature branch (like
add_component_x) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
Authors: Hemal N. Varambhia