patched to use Prawn 1.0.0rc2