"https://rvm.io/rvm/install":https://rvm.io/rvm/install/
$ sudo apt-get install git-core curl $ bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer) $ echo "source \"$HOME/.rvm/scripts/rvm\"" >> $HOME/.bashrc $ source ~/.bashrc $ rvm -v
rvm 1.15.7 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]
$ rvm pkg install zlib // 为避免在安装Jekyll时报cannot load such file -- zlib,先安装zlib $ rvm pkg install iconv // 避免出现iconv will be deprecated in the future, use String#encode instead. $ rvm install *1.9.3* $ rvm use *1.9.3* $ ruby -v
ruby 1.9.3p194 (2012-04-20 revision 35410) [i686-linux]
$ gem install jekyll $ gem install RedCloth