Programming/Ruby

[Ruby] jekyll 실행 시킬 때 `require': cannot load such file - 에러 발생

OriginMaster 2021. 10. 18. 14:03
반응형

 

 

ruby를 설치하고 $bundle exec jekyll serve  명령어를 입력했을 때 

 

Ruby 설치 경로에 require': cannot load such file -- webrick (LoadError) 에러가 발생한다면 이는 webrick 번들이 없어서 발생한 에러이다.

 

이런 경우 

$bundle add webrick 명령어를 입력해서 webrick 번들을 추가해 주고 다시 실행해주면 된다.

 

 

   ※ ruby 3.0버전부터는 webrick이 기본 bundle에서 제외되었다....!

 

반응형