git clone git://github.com/imathis/octopress.git octopress
gem install bundler
rbenv rehash # rvenv を使っているので
bundle install
cd octopress
rake install
ssh_user = "user@domain.com"
document_root = "~/test_octopress/" # とりあえず動作確認のため、別ディレクトリを指定
rsync_delete = true
deploy_default = "rsync"
## `Rsync Deploy config` のあたりにprivate_keyの設定を追加
ssh_private_key = "~/.ssh_id_rsa.octopress"
...
## 242行目あたりの rsyncコマンドを変更
ok_failed system("rsync -avze 'ssh -i #{ssh_private_key} -p #{ssh_port}' #{exclude} #{"--delete" unless rsync_delete == false} #{public_dir}/ #{ssh_user}:#{document_root}")
rake generate
rake deploy
そして伝説へ…