Thomas’ Lab Notes

Stuff worth not forgetting

Setting Up Octopress

Objective

To set up Octopress in its own, isolated Ruby environment

Prerequisite

Install rbenv to manage Ruby virtual environments.

Create isolated environment:

1
2
3
$ export GEM_HOME=$HOME/octopress.gems
$ gem install bundler
$ export PATH=$GEM_HOME/bin:$PATH

GEM_HOME and PATH need to be set to do any Octopress work.

Clone Octopress:

1
2
$ git clone git://github.com/imathis/octopress.git octopress
$ cd octopress 

Install dependencies and default theme:

1
2
$ bundle install
$ rake install

:warning: If --path is passed to bundle install, the value is cached in .bundle/config, and $GEM_HOME is subsequently ignored.

Emoji support