- Overview
- Module Description - What the module does and why it is useful
- Setup - The basics of getting started with ruby
- Limitations
The ruby-module installs the Ruby language
The ruby-module installs the Ruby language on Windows with the chocolatey-module in silent mode.
The ruby-module uses the chocolatey-chocolatey module
for a simple ruby-installation use:
class { ruby: }One of the following values:
- installed: Installs the current version
- latest: Installs the current version and updates to every new release
- '1.0.0': Installs a specific version
- absent: Removes the application
Name of the package in the os-specific package-manager. In normal circumstances there is no need to change this value.
Wether or not using the prerelease of the package. This is not available in all providers.
Override the maintainer-provided checksum for the package. This is not available in all providers.
The abolute path, where ruby should be installed. The default points to C:\tools\ruby24
With this swtich you can decide to install the optionaly Tcl/Tk support. true |false
Associate .rb and .rbw files to the newly installed ruby. true |false
Update the PATH environment variable for ruby binary. true |false
Set environment variable RUBYOPT=-Eutf-8. true |false
Installation with all the paramters and its defaults:
class { ruby:
package_ensure => latest,
prerelease => false,
checksum => false,
installpath => 'C:\tools\ruby24',
addtk => true,
assocfiles => true,
modpath => true,
defaultutf8 => true,
}At the Moment, only windows 7 and windows 10 are supported.