- Install gem
wicked-pdf
- Install gems to allow generate pdf from html (using wkhtmltopdf library)
wkhtmltopdf-binary
~ for general
wkhtmltopdf-binary-edge
~ for MacOS and Ubuntu/CentOS
'wkhtmltopdf-binary-aml', git: 'https://github.com/insphire/wkhtmltopdf-binary-aml'
~ for Amazon Linux (use this one)
- Set UTF-8 in HTML