From 2e460233a3f093c2fc968a308e4f66987ddc8506 Mon Sep 17 00:00:00 2001 From: lef237 Date: Fri, 29 Nov 2024 19:49:54 +0900 Subject: [PATCH] =?UTF-8?q?html2slim=E3=82=92=E3=82=A4=E3=83=B3=E3=82=B9?= =?UTF-8?q?=E3=83=88=E3=83=BC=E3=83=AB=E3=81=A7=E3=81=8D=E3=81=AA=E3=81=84?= =?UTF-8?q?=E5=95=8F=E9=A1=8C=E3=81=AE=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit GitHubのリポジトリを指定して最新版をインストールすることで解決しました。 ref. [2024年05月現在、html2slimを使う方法](https://zenn.dev/yksn/articles/aff65f3afb73d0) --- Gemfile | 2 +- Gemfile.lock | 13 +++++++++---- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/Gemfile b/Gemfile index 05906a7..f21ae34 100644 --- a/Gemfile +++ b/Gemfile @@ -79,7 +79,7 @@ group :development do # gem "spring" gem 'erb_lint', require: false - gem 'html2slim' + gem 'html2slim', github: 'slim-template/html2slim' gem 'rubocop-fjord', require: false gem 'rubocop-rails', require: false gem 'rubocop-rspec', require: false diff --git a/Gemfile.lock b/Gemfile.lock index 04c082d..92a27eb 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,3 +1,10 @@ +GIT + remote: https://github.com/slim-template/html2slim.git + revision: e92e6bb80570dce0c413a6ff01b858754845df24 + specs: + html2slim (0.2.0) + nokogiri + GEM remote: https://rubygems.org/ specs: @@ -127,9 +134,6 @@ GEM ffi (1.15.5) globalid (1.2.1) activesupport (>= 6.1) - hpricot (0.8.6) - html2slim (0.2.0) - hpricot i18n (1.14.1) concurrent-ruby (~> 1.0) image_processing (1.12.2) @@ -336,6 +340,7 @@ GEM PLATFORMS arm64-darwin-22 + arm64-darwin-24 x86_64-linux DEPENDENCIES @@ -350,7 +355,7 @@ DEPENDENCIES erb_lint factory_bot_rails faker - html2slim + html2slim! image_processing (~> 1.2) jbuilder jsbundling-rails