creating a gem to render pdfs