sparklemotion/nokogiri — pull request #1193 by danielfone (2014-11-17 21:48:02+00:00)
Title: Escape full path when patching

This ensures that patching is successful even if the ROOT path contains spaces.
This is the same approach that mini_portile takes. https://github.com/luislavena/mini_portile/blob/v0.6.1/lib/mini_portile.rb#L256