Jekyll development environment setup
Published on 07 Jan 2024
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
EV Existory TIL book-review bookmark bootcamp chi containers embedded frontend gist git github golang homelab imagemagick internet javascript jekyll js k8s linux mental-model mgmt mysql opensource paper personal prototyping psychology python review semiconductor social-media sprituality sustainable til tools unix virtualization writing