Sha256: c644344d706278ee2b800941a9df3499434457e7ef8c8205702d6dafc9eb1488
Contents?: true
Size: 1.02 KB
Versions: 8
Compression:
Stored size: 1.02 KB
Contents
require 'rubygems' require 'sinatra/base' require 'json' require 'nokogiri' require 'fileutils' require 'logger' require 'tilt' require 'css_parser' begin require 'RMagick' rescue LoadError $stderr.puts %{ -------------------------------------------------------------------------------- Please install RMagick: $ gem install rmagick RMagick is required for: * Static output to ensure images are included with the documents * Web rendering, auto-re-sizing of images -------------------------------------------------------------------------------- } end begin require 'pdfkit' rescue LoadError $stderr.puts %{ -------------------------------------------------------------------------------- Please install PDFKit and wkhtmltopdf-binary: $ gem install pdfkit $ gem install wkhtmltopdf-binary PDFKit and wkhtmltopdf-binary are required to provide PDF output -------------------------------------------------------------------------------- } end require 'parade/helpers/encode_image' require 'parade/server'
Version data entries
8 entries across 8 versions & 1 rubygems