fastOn

2013-05-29 19:17:00 +0000

Machine

VMPlayer+ Ubuntu

Use 14.04 LTS(a stable version) instead of a unstable version.

softwares

vim
git
chrome
ruby
jekyll
Ubuntu One

git ssh

I have just reinstalled the system or I’v just get a new machine.
1. install git
2. get a friend usr(get ssh key)
3. add the usr as a Collaborator of the old project.
4. the usr is free to push to the origin project.

ruby env

0.install ruby Using RVM(“Ruby Versiom Manager”).

curl -L https://get.rvm.io | bash -s stable --ruby	
source ~/.bashrc
source ~/.bash_profile

rvm -v # check install ok

1.install ruby

rvm install 2.0.0
rvm use 2.0.0
rvm use 2.0.0 --default

ruby -v # for check
gem  -v # for check

2.gem install jekyll (See tips if have problems)

gem install jekyll 
sudo apt-get install nodejs # if need javascript runtime

3.jekyll the blog

git clone xxx
jekyll server --watch  #watch the change at the time you save the file.   
Tips: changing gem sources
gem sources #show the current source
gem sources -a http://ruby.taobao.org #add a source
gem sources -r http://rubygems.org/ #remove a source

done

reference

rubychina