cookbook 'rubyenv', '= 0.1.1'
rubyenv (4) Versions 0.1.1 Follow1
Install one or more ruby versions with rbenv
cookbook 'rubyenv', '= 0.1.1', :supermarket
knife supermarket install rubyenv
knife supermarket download rubyenv
Description
Installs/Configures rubyenv
Requirements
Platform:
Ubuntu
Cookbooks:
- rbenv
Attributes
-
node["rubyenv"]["rubies"]
- Array with ruby versions to install.
Recipes
- rubyenv::default
Example (attributes.json)
{
"run_list": [
"recipe[rubyenv::default]"
],
"rubyenv": {
"rubies": {
"1.9.3-p511": false,
"2.1.5": false,
"2.2.3": true
}
}
}
The true/false flag indicates whether or not this should be the global ruby version.
License and Maintainer
Maintainer:: Dennis Vink (dennis.vink@sentia.com)
License:: MIT (see LICENSE)
Dependent cookbooks
rbenv >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
0.1.0
Initial release of rubyenv
Foodcritic Metric
0.1.1 failed this metric
FC002: Avoid string interpolation where not required: /tmp/cook/40b43d2b3bdccfd9b15be439/rubyenv/recipes/default.rb:16
FC002: Avoid string interpolation where not required: /tmp/cook/40b43d2b3bdccfd9b15be439/rubyenv/recipes/default.rb:18
FC023: Prefer conditional attributes: /tmp/cook/40b43d2b3bdccfd9b15be439/rubyenv/recipes/default.rb:20
0.1.1 failed this metric
FC002: Avoid string interpolation where not required: /tmp/cook/40b43d2b3bdccfd9b15be439/rubyenv/recipes/default.rb:18
FC023: Prefer conditional attributes: /tmp/cook/40b43d2b3bdccfd9b15be439/rubyenv/recipes/default.rb:20