curl -L https://get.rvm.io | bash -s stable --ruby source ~/.rvm/scripts/rvm rvm install 1.9.3 rvm use 1.9.3 rvm rubygems latest
然后替换 RubyGems 的到淘宝镜像:
gem sources --remove https://rubygems.org/ gem sources -a http://ruby.taobao.org/ gem sources -l
然后安装jekyll,在安装jekyll前先安装rdoc,否则会失败,
gem install rdoc gem install jekyll
安装完毕
参考:
1.http://ruby-china.org/wiki/install-rails-on-ubuntu-12-04-server
没有评论:
发表评论