chef

https://github.com/opscode/chef

Ruby

A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.

Win32::Registry#write

::Win32::Registry#write does not correctly handle data in Ruby 2.1
This bug is _reportedly_ resolved in Ruby 2.1.7 and 2.2.3
but fails in appveyor on 2.1.8 unless we keep applying this monkeypatch
https://bugs.ruby-lang.org/issues/11439

Source | Google | Stack overflow

Edit

git clone [email protected]:opscode/chef.git

cd chef

open lib/chef/monkey_patches/win32/registry.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Win32--Registry-write-for-pr


# Commit to git

git add lib/chef/monkey_patches/win32/registry.rbgit commit -m "better docs for Win32::Registry#write"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Win32--Registry-write-for-pr

hub pull-request


# Celebrate!