NameError: uninitialized constant PDF

40 views
Skip to first unread message

Marcel Felipe Machado Lopes

unread,
Oct 13, 2016, 6:46:26 AM10/13/16
to PDF::Reader
Hi,

I'm just beginning with Ruby and i couldn't manage to run the first script example of pdf-reader. 

I'm getting this error: NameError: uninitialized constant PDF after creating the variable in this line 

reader = PDF::Reader.new("/Users/paulacajaty/Downloads/documento.pdf")

Any advice ?

Thanks in advance.

Marcel Lopes
Reply all
Reply to author
Forward
0 new messages