Read PDF in Ruby

Posted on Jun 18, 2012 in Computer Science

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

"pdf-reader" is a good Ruby libary for reading pdf document. You can install it via RubyGems using the following command.

sudo gem install pdf-reader

You have to load the library before you use it. To load it, use the command below.

require 'pdf-reader'

For more information, see the project on GitHub.