Post

jekyll, bundle

jekyll, bundle

오래만에 쓰는 글


오랜만에 깃허브 블로그를 가동할려고 하였으나 실수로 ruby데이터를 삭제하는 바람에 다시 설치하고 서버를 가동시킬려고 하였으나 왠지 모르겠으나 런타임 에러라는 오류가 계속 등장하였다.

C:\lee data\java spring\hyuntrace0915.github.io>bundle exec jekyll serve
Exception `RuntimeError' at C:\lee data\java spring\Ruby33-x64\bin\ruby.exe - invalid switch in RUBYOPT: -a
C:\lee data\java spring\Ruby33-x64\bin\ruby.exe: invalid switch in RUBYOPT: -a (RuntimeError)

그래서 ruby버전을 다운그레이드 해보고 재설치하고 여러 뻘짓을 한 도출된 해결방안은 bundle exec jekyll serve를 쓰는 것이 아니라 jekyll serve이 명령어를 쓰면 정상적으로 된다.

jekyll serve

This post is licensed under CC BY 4.0 by the author.