# This loads RVM into a shell session.[[ -s "$HOME/.rvm/scripts/rvm"]]&& . "$HOME/.rvm/scripts/rvm"
Install Ruby 1.9.2 and ensure RVM has the latest RubyGems.
12
rvm install 1.9.2 && rvm use 1.9.2
rvm rubygems latest
2.安装Octopress
install Octopress
123456789
git clone git://github.com/imathis/octopress.git octopress
cd octopress # If you use RVM, You'll be asked if you trust the .rvmrc file (say yes).ruby --version # Should report Ruby 1.9.2gem install bundler
rbenv rehash # If you use rbenv, rehash to be able to run the bundle commandbundle install
rake install