Computer Setup
[Jekyll] Dependency errors when gem bundles are updated
astrodoo
2020. 8. 21. 02:33
bundle exec jekyll serve
로 jekyll을 구동할 때, 아래와 같이 Dependency error 가 발생하면,
Dependency Error: Yikes! It looks like you don't have kramdown-parser-gfm or one of its dependencies installed.
우회적인 방법으로 Gemfile 에서 버전을 고정해주는 방법이 있다.
우선
gem install kramdown-parser-gfm --user-install
로 패키지를 설치하고, 이후에도 여전히 Dependency error 가 똑같이 발생하면, Gemfile 을 열어
아래와 같이 plugin 의 버전을 고정해준다. (ex., v1.1.0 for kramdown-parser-gfm)
group :jekyll_plugins do
gem "jemoji", "~> 0.11.1"
gem "kramdown-parser-gfm", "~> 1.1.0"
end