Simple Vagrant file to build a Jekyll environment against Ubuntu.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Vagrant file for a Jekyll environment

Simple Vagrant file to build a Jekyll environment and a clean modern Ruby install on Ubuntu.

Big hat-tip to for the repo which this is based on.

How to use

First, make sure you've installed Vagrant and VirtualBox.

Next, clone this repo:

git clone

Open the Vagrantfile in a text editor and update the sync folder. Alternatively if not required, just comment out / remove the line.

config.vm.synced_folder "<your local path here e.g. ../my-jekyll-project", "/jekyll-src"

Now, cd into that directory and start up the Vagrant vm:

cd vagrant-jekyll
vagrant up

Finally, you can ssh into the vm and do all your Jekyll-related work in there:

vagrant ssh

Port forwarding

The Vagrant vm is configured to forward port 8124 by default. So you can start a Jekyll server like so:

cd /jekyll-src
jekyll server --host= --force-polling -P 8124

And then navigate to localhost:8124 on your host box.

Note on SSH-forwarding

The Vagrantfile enables ssh-forwarding so that you can use your host ssh keys to authenticate with github. Make sure to add you keys to the agent with ssh-add before running vagrant ssh if your keys aren't automatically added to the agent.