Notice
Recent Posts
Recent Comments
Link
«   2024/04   »
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
Archives
Today
Total
관리 메뉴

Astro Coke

[Jekyll] Dependency errors when gem bundles are updated 본문

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