Windows 10 WSL Bundle, Jekyll 설치 - jinwooklim/my-exp GitHub Wiki
참조 :
https://nafees.net/2019-12-02/First-post
-
WSL 켜기
-
Install ruby 2.6.x
$ sudo apt-add-repository ppa:brightbox/ruby-ng
$ sudo apt update
$ sudo apt-get install ruby2.6 ruby2.6-dev
2-1. User level로 gem bundler 사용
$ gem install --user-install bundler
$ echo 'export PATH="$HOME/.gem/ruby/2.6.0/bin:$PATH"' >> ~/.bashrc
$ exec $SHELL
- Jekyll 설치
$ cd ./MyGithubBlog
$ bundle install --path ~/.gem
- Jekyll local 실행
$ bundle exec jekyll serve