RiotGames/rbenv-cookbook — pull request #97 by fourseven (2014-03-17 00:37:09+00:00)
Title: Adding in support for urls as patches.

Firstly this requires patchutils to be installed so that we can use
filterdiff. I’m not entirely happy with this, but is a first cut of
this functionality so happy to have a discussion over it.

Allow the rbenv_ruby LWRP to support a patch variable, which is simply
a URL that rbenv install --patch will pull in. Written in a similar
style to here.
https://github.com/sstephenson/ruby-build/wiki#make-error-for-200-p247-and-lower-on-fedorared-hat

An example is:

```
rbenv_ruby "2.1.1" do
global true
patch "https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/45225/diff?format=diff"
end
```