Skip to content

hemalvarambhia/chef-ruby

Repository files navigation

ruby Cookbook

Installs ruby from source. The option to install rubygems is also available via the rubygems recipe

Requirements

packages

  • 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

Operating systems

Ubuntu 14.04, CentOS 7

Attributes

chef-ruby::default

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

Usage

ruby::default

Just include chef-ruby in your node's run_list:

{
  "name":"my_node",
  "run_list": [
    "recipe[chef-ruby::default]"
    "recipe[chef-ruby::rubygems]"
  ]
}

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github

License and Authors

Authors: Hemal N. Varambhia

About

Ruby installation chef cookbook

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages