-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[fix] build error(cause : _config.yaml) #3
Comments
일단 로컬에서 theme: just-the-docs 적용 안하면 안되는 건 확실한 듯 |
로컬에서 theme: just-the-docs를 적용하려면 gem에 just-the-docs를 써줘야 함 안그러면 아래와 같이 gem에 없다고 뜨는데 _config.yaml에 적힌 디펜던시는 gemfile을 한 번 뒤져서 다운로드하는 시스템인듯. bundler: failed to load command: jekyll (/Users/seo/.rbenv/versions/3.1.1/bin/jekyll) |
local에서 gemfile에 just-the-docs를 써주면 해결되듯이 remote에서도 똑같이 적용되면 될 거 같은데 왜 안되는 걸까 |
아 그래도 안됨 일단은 theme 삭제하고 로컬에서 돌릴 때만 추가해서 쓰자 |
응 삭제하자마자 바로 빌드 잘 되죠? |
error 내용
/usr/local/bundle/gems/jekyll-3.9.0/lib/jekyll/theme.rb:84:in `rescue in gemspec': The just-the-docs theme could not be found. (Jekyll::Errors::MissingDependencyException)
로컬에서 _config.yaml 은 theme: just-the-docs 을 추가하지 않으면 just-the-docs theme이 확인이 안됨
문제는 로컬에서 돌릴 때는 저걸 추가해도 에러 없이 동작하지만 배포할 때 문제가 생김
공식 문서에는 remote-theme에만 적용하거나 아니면 gem + theme 에 적용할 것을 예시로 들고 있음
내가 현재 적용한 방식은 theme, remote-theme, gem 모두를 적용한 상태이므로 먼저 여기서 remote-theme 적용만 시도해보고, 로컬에서 도는거 테스트 해볼 거고
그 다음 안되면 gem+theme으로 해볼 예정
The text was updated successfully, but these errors were encountered: