2022-08-01 Install Jekyll on WSL Tags: wsl jekyllAdd the following to `~/.bashrc`: ``` # ruby gems if which ruby >/dev/null && which gem >/dev/null; then export GEM_HOME="$(ruby -r rubygems -e 'puts Gem.user_dir')" export PATH="$GEM_HOME/bin:$PATH" fi ``` Restart terminal. Install: ``` sudo apt-get install ruby ruby-dev sudo apt-get install autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm6 libgdbm-dev libdb-dev gem update gem install jekyll bundler jekyll -v ```