更新 octopress

如何更新octopress

1
2
3
4
5
6
git remote add octopress https://github.com/imathis/octopress.git
git pull octopress master # Get the latest Octopress
bundle update # Keep gems updated #我试了用bundle install 结果说Bundler could not find compatible versions for gem "sass"
rake update_source # update the template's source
rake update_style # update the template's style
<!-- more -->

对于在新机器上运行

1
2
3
curl -L https://get.rvm.io | bash -s stable --ruby
cd some_dir && rvm install 提示你安装的
bundle install

日常注意保存

1
2
git push #提交octopress相关改动
git push origin source #提交博客内容改动