---
tags: Random
title: New computer Jekyll setup
---
# New computer Jekyll setup
I did this on a mac, when I got a new computer and I needed to set things up again so that I could locally render [Happy Belly Bioinformatics](https://astrobiomike.github.io/).
I had **a lot** of trouble setting this up again. This final working path was cobbled together from multiple places and just trying different things. It worked on two different new macs, so hopefully it wasn't just a fluke...
```bash
conda create -y -n jekyll -c conda-forge rb-jekyll c-compiler compilers cxx-compiler
conda activate jekyll
gem install bundler:2.3.14
# running this in the repo with the Gemfile
bundle update
# make sure these are all being called from the same conda environment (and no other system-wide ones are mucking things up)
which ruby
which bundle
which bundler
which gem
# then i was good to go with
bundle exec jekyll serve
```