From d0af6ddcc1ff20ba9bd7c1d680d207687daee449 Mon Sep 17 00:00:00 2001 From: Ahmed Ejaz Date: Wed, 18 Mar 2026 06:07:59 +0500 Subject: [PATCH] Fix wkhtmltopdf-binary installation by specifying the original source in Gemfile --- Gemfile | 2 +- Gemfile.lock | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index 5aaca09582..03489619b0 100644 --- a/Gemfile +++ b/Gemfile @@ -113,7 +113,7 @@ gem "turbo-rails" gem 'combine_pdf' gem 'wicked_pdf', github: "openfoodfoundation/wicked_pdf", branch: "master" -gem 'wkhtmltopdf-binary' +gem 'wkhtmltopdf-binary', source: 'https://rubygems.org' gem 'immigrant' gem 'roo' # read spreadsheets diff --git a/Gemfile.lock b/Gemfile.lock index 86906157db..115a75d314 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -969,12 +969,16 @@ GEM websocket-extensions (0.1.5) whenever (1.1.0) chronic (>= 0.6.3) - wkhtmltopdf-binary (0.12.6.10) xml-simple (1.1.8) xpath (3.2.0) nokogiri (~> 1.8) zeitwerk (2.7.5) +GEM + remote: https://rubygems.org/ + specs: + wkhtmltopdf-binary (0.12.6.10) + PLATFORMS ruby @@ -1125,7 +1129,7 @@ DEPENDENCIES webmock whenever wicked_pdf! - wkhtmltopdf-binary + wkhtmltopdf-binary! RUBY VERSION ruby 3.4.8p72