diff --git a/Gemfile b/Gemfile index 1bb0a42..6cae98a 100644 --- a/Gemfile +++ b/Gemfile @@ -5,9 +5,6 @@ git_source(:github) do |repo_name| "https://github.com/#{repo_name}.git" end -# For PDF-generation -gem 'wicked_pdf' - # Bundle edge Rails instead: gem 'rails', github: 'rails/rails' gem 'rails', '~> 6.0' # Use Puma as the app server diff --git a/Gemfile.lock b/Gemfile.lock index 6983d48..7a4c786 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -371,8 +371,6 @@ GEM websocket-driver (0.7.6) websocket-extensions (>= 0.1.0) websocket-extensions (0.1.5) - wicked_pdf (2.8.0) - activesupport xpath (3.2.0) nokogiri (~> 1.8) zeitwerk (2.6.13) @@ -421,7 +419,6 @@ DEPENDENCIES uglifier (>= 1.3.0) web-console (>= 3.3.0) webpacker - wicked_pdf BUNDLED WITH 2.5.6 diff --git a/config/initializers/wicked_pdf.rb b/config/initializers/wicked_pdf.rb deleted file mode 100644 index 824095d..0000000 --- a/config/initializers/wicked_pdf.rb +++ /dev/null @@ -1,21 +0,0 @@ -# WickedPDF Global Configuration -# -# Use this to set up shared configuration options for your entire application. -# Any of the configuration options shown here can also be applied to single -# models by passing arguments to the `render :pdf` call. -# -# To learn more, check out the README: -# -# https://github.com/mileszs/wicked_pdf/blob/master/README.md - -WickedPdf.config = { - # Path to the wkhtmltopdf executable: This usually isn't needed if using - # one of the wkhtmltopdf-binary family of gems. - # exe_path: '/usr/local/bin/wkhtmltopdf', - # or - # exe_path: Gem.bin_path('wkhtmltopdf-binary', 'wkhtmltopdf') - - # Layout file to be used for all PDFs - # (but can be overridden in `render :pdf` calls) - # layout: 'pdf.html', -}