Snowwwolf's Blog

My Blog, My Work, My Life.

Setup Octopress on My MacOS

To describe the setup process on my Mac OS 10.8.

Referenced from http://octopress.org/docs/setup/

  1. Download Octopress

    git clone git://github.com/imathis/octopress.git octopress

  2. Install ruby 1.9.3. (Note that only ruby 1.9.3, NOT 1.9.3 or above)

    brew install rbenv

    brew install ruby-build

    rbenv install 1.9.3-p0

    rbenv rehash

  3. Modify content of .ruby-version file in octopress to “1.9.3-p0”. Run “ruby —version” should report “Ruby 1.9.3-p0”

  4. Final setup commands

    gem install bundler

    rbenv rehash

    bundle install

    rake install