Skip to content

Commit

Permalink
html2slimをインストールできない問題の修正
Browse files Browse the repository at this point in the history
GitHubのリポジトリを指定して最新版をインストールすることで解決しました。

ref. [2024年05月現在、html2slimを使う方法](https://zenn.dev/yksn/articles/aff65f3afb73d0)
  • Loading branch information
lef237 committed Nov 29, 2024
1 parent e3bb2b3 commit 2e46023
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
13 changes: 9 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -336,6 +340,7 @@ GEM

PLATFORMS
arm64-darwin-22
arm64-darwin-24
x86_64-linux

DEPENDENCIES
Expand All @@ -350,7 +355,7 @@ DEPENDENCIES
erb_lint
factory_bot_rails
faker
html2slim
html2slim!
image_processing (~> 1.2)
jbuilder
jsbundling-rails
Expand Down

0 comments on commit 2e46023

Please sign in to comment.