Octopress and Mountain Lion

Ruby Setup

As I already had git installed the only thing left to do was to install a Ruby version manager. The octopress setup guide suggests either rbenv or rvm. As my attempts with rbenv or homebrew didn't bear fruit I moved on to a "manual" rvm installation:

curl -L https://get.rvm.io | bash -s stable --ruby
echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"' >> ~/.bash_profile

This installs rvm and automatically adds the necessearry scripts to the bash_profile. The next step is installing Ruby 1.9.3 itself:

rvm pkg install iconv
rvm install 1.9.3 --with-gcc=clang --with-iconv-dir=$rvm_path/usr
rvm use 1.9.3

Octopress Setup

The octopress setup is actually fairly simple and worked exactly as stated on the website.

git clone git://github.com/imathis/octopress.git octopress
cd octopress
gem install bundler
bundle install
rake install