Carpe diem (Felix's blog)

I am a happy developer

My Octopress Configs

installation note

This is an installation note for Octopress blogging framework. My configuration is developed on OSX with ruby 1.9.2, and xcode 4.2.

Required developement tools

  1. osx-gcc installer
  2. install homebrew if not yet installed

Manage Rubies with RVM

Install RVM

bash -s stable < <(curl -s

Reload your Shell environment:

source ~/.bash_profile

Install ruby:

rvm install 1.9.2 --with-gcc=gcc-4.2

Note: Octopress requires ruby 1.9.2

Use ruby 1.9.2

rvm use 1.9.2 --default

Setup Octopress

git clone git:// your-blog
cd your-blog
gem install bundler
bundle install
rake install

Setup github pages

add new repository as

rake setup_github_pages
Enter the read/write url for your repository:
rake generate
rake deploy

Now you can go to to see your repository

git add .
git commit -m 'blog init'
git push origin source

Wait about 10 minutes and you can see your inited blog on!