How to Convert HTML to a PDF File in Ruby 2.0 on Ubuntu 12.04 LTS
gem install pdfkit sudo apt-get install wkhtmltopdf which wkhtmltopdf cp /usr/local/rvm/gems/ruby-2.0.0-p0/bin/wkhtmltopdf /usr/bin/ chmod a+x /usr/bin/wkhtmltopdf You could test this in IRB: require ‘pdfkit’ kit_obj...
Read More
Recent Comments