diff --git a/Gemfile b/Gemfile index 0ef6b7a6e..78c6b3b88 100644 --- a/Gemfile +++ b/Gemfile @@ -60,7 +60,7 @@ gem "uglifier", "~> 4.2.0" gem "uuidtools", "~> 2.2.0" gem "view_component", "~> 3.11.0" gem "whenever", "~> 1.0.0", require: false -gem "wicked_pdf", "~> 2.8.0" +gem "wicked_pdf", "~> 2.8.1" gem "wkhtmltopdf-binary", "~> 0.12.6" group :development, :test do diff --git a/Gemfile.lock b/Gemfile.lock index d72c2ed4c..e946e96f9 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -684,7 +684,7 @@ GEM websocket-extensions (0.1.5) whenever (1.0.0) chronic (>= 0.6.3) - wicked_pdf (2.8.0) + wicked_pdf (2.8.1) activesupport wkhtmltopdf-binary (0.12.6.6) xpath (3.2.0) @@ -792,7 +792,7 @@ DEPENDENCIES view_component (~> 3.11.0) web-console (~> 4.2.1) whenever (~> 1.0.0) - wicked_pdf (~> 2.8.0) + wicked_pdf (~> 2.8.1) wkhtmltopdf-binary (~> 0.12.6) BUNDLED WITH diff --git a/config/initializers/wicked_pdf.rb b/config/initializers/wicked_pdf.rb index 4e7cb9dbd..ff97f49a5 100644 --- a/config/initializers/wicked_pdf.rb +++ b/config/initializers/wicked_pdf.rb @@ -11,7 +11,7 @@ WickedPdf.configure do |config| # Path to the wkhtmltopdf executable: This usually isn't needed if using # one of the wkhtmltopdf-binary family of gems. - # config.exe_path = '/usr/local/bin/wkhtmltopdf', + # config.exe_path = '/usr/local/bin/wkhtmltopdf' # or # config.exe_path = Gem.bin_path('wkhtmltopdf-binary', 'wkhtmltopdf') @@ -20,11 +20,11 @@ WickedPdf.configure do |config| # Layout file to be used for all PDFs # (but can be overridden in `render :pdf` calls) - # config.layout = 'pdf.html', + # config.layout = 'pdf.html' # Using wkhtmltopdf without an X server can be achieved by enabling the # 'use_xvfb' flag. This will wrap all wkhtmltopdf commands around the # 'xvfb-run' command, in order to simulate an X server. # - # config.use_xvfb = true, + # config.use_xvfb = true end