small medium large xlarge

Paul - neko head shot_pragsmall
02 Jun 2013, 12:49
Paul Fioravanti (13 posts)

In Chapter 1, when I set the Prawn dependency version in the gemspec to “0.12.0”, as is written in the text, I get the following error when I access http://localhost:3000/home.pdf:

Prawn::Errors::UnknownFont in HomeController#index Couldn't find the font: Helvetica.afm

This was fixed for me when I changed the Prawn dependency version to “1.0.0.rc2”. Not sure if this is belongs as an errata or if it’s an issue specific to my environment so I’m posting it here in case anyone else has a similar issue.

Avatar_pragsmall
12 Jun 2013, 01:42
Nathan Youngman (8 posts)

Prawn 0.12.0 is from 2011. A lot has changed since then, so I suspect it should be written against rc2.

  You must be logged in to comment