Generate my PDF resume with Ruby and Prawn


Build Status Test Coverage Code Climate Dependency Status

This is a Ruby CLI application that generates my resume. I made it in order to teach myself a bit about the Ruby PDF generation library Prawn. Railscast #153 is also a good resource for learning about it.

Text is deliberately obfuscated in the JSON files that contain the resume content with Base64 to ensure people generate the PDF in order to be able to read anything.


$ git clone
$ cd resume
$ bundle install


Generate the resume in the following languages:
:uk: $ bin/resume
:it: $ bin/resume -l it
:jp: $ bin/resume -l ja

Run $ bin/resume -h to see all the options.

Run the specs:

$ bin/rspec

If you have SimpleCov installed, view the test coverage report:

$ open coverage/index.html

One Sheet Resume

Generate the “one sheet” version of the resume (the whole app and specs in a single file called resume.rb).
If I sent my resume to you directly, it would have been generated from this rake task:

$ bin/rake resume
CLI app:
:uk: $ ruby resume.rb
:it: $ ruby resume.rb -l it
:jp: $ ruby resume.rb -l ja

<br /> :it:$ ruby resume.rb -l it<br /> :jp:$ ruby resume.rb -l ja`

The specs can also be run directly on the one sheet resume:

$ rspec resume.rb


  • Ruby 2.3.1
  • I18n 0.7, Prawn 2.1.0 and Prawn-Table 0.2.2 (if you don’t have the specific versions of the gems, you will be prompted to install them)
  • RSpec 3.4, if you want to run the specs
  • SimpleCov 0.11 if you want to view the coverage report locally


I did a lightning talk about this project at the Ruby on Rails Oceania Meetup on 10 May 2016.
The slide deck can be found here.


  • It doesn’t seem possible yet in Prawn to make an embedded image a clickable link. Until support is possible (if ever), I’ve simply pulled in images from Dropbox and overlaid a transparent text link on top to simulate clicking an image. More discussion on this issue is at this StackOverflow thread.


profile for Paul Fioravanti at Stack Overflow, Q&A for professional and enthusiast programmers

Related Repositories



Cli tool to easily setup a new resume ...



A one page , two asymmetric column resume template in XeTeX that caters to an undergraduate Computer Science student ...



Generate a responsive CSS3 and HTML5 resume with Markdown, with optional PDF output. ...



Turn a simple markdown document into a resume in HTML and PDF ...



My resume as a PDF including the well commented LaTeX source and build instructions. ...

Top Contributors

paulfioravanti adz bitdeli-chef