️️ ️️ ️️ ️️ ️️
Avatar A personal blog about technical things I find useful. Also, random ramblings and rants...

Jekyll development environment setup

Jekyll development environment setup gist
sudo apt install git curl autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm6 libgdbm-dev libdb-dev

curl -fsSL https://github.com/rbenv/rbenv-installer/raw/HEAD/bin/rbenv-installer | bash

echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc

echo 'eval "$(rbenv init -)"' >> ~/.bashrc

source ~/.bashrc

rbenv -v

rbenv install -l

rbenv install 2.7.2

rbenv global 2.7.2

//or whichever version supports the gems required, 3.0.0

gem install jekyll bundler

If throws error, try installing webrick: 

bundle add webrick

gem uninstall bundler(remove 2.5.5 as it does not support cloudflare)

all tags