programming/ERROR
zsh: command not found: jekyll
헤써니
2020. 12. 28. 11:30
현상
jekyll 설치 확인을 위해 버전을 보려고 하니 오류가 발생
추가정보
-
발생한 때
$ jekyll -v
발생한 원인
$PATH 변수 설정 누락
해결방법
1. vim ~/.zshrc
~/.zshrc 파일에 아래 내용을 추가함
export PATH="[루비설치경로]/.gem/ruby/X.X.X/bin:$PATH"
X.X.X: 루비버전
2. source ~/.zshrc
변경사항 적용
3. jekyll -v
jekyll 버전확인
참고사이트
더보기
stackoverflow.com/questions/8146249/jekyll-command-not-found
Jekyll - command not found
I am trying to get Jekyll running but I have no experience with Ruby. As far as I can tell the installation of Jekyll has succeeded. However: $ jekyll Gives an error: -bash: jekyll: command not ...
stackoverflow.com
jekyllrb.com/docs/installation/macos/
Jekyll on macOS
Install Command Line Tools To install the command line tools to compile native extensions, open a terminal and run:
jekyllrb.com