Skip to main content


Tag: gem


安装Ruby/DevKit 首先从 下载以下两个文件进行安装 rubyinstaller-1.9.3-p194.exe DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe Ruby安装在D:\Ruby200, DevKit安装在D:\rubydevkit 打开CMD进入到DevKit目录,开始初始化安装 D:\rubydevkit>ruby dk.rb init [INFO] found RubyInstaller v2.0.0 at d:/Ruby200 Initialization complete! Please review and modify the auto-generated 'config.yml' file to ensure it contains the root directories to all of the installed Rubies you want enhanced by the DevKit. D:\rubydevkit>ruby dk.rb install [INFO] Updating convenience notice gem override for 'd:/Ruby200' [INFO] Installing 'd:/Ruby200/lib/ruby/site_ruby/devkit.rb' 替换Gem源 天朝网路可能会引起gem安装失败,建议更换为,org源 $gem sources -r $gem sources -a http://ruby.


安装Rvm $sudo aptitude install curl $curl -L | bash -s stable 加载Rvm $source ~/.rvm/scripts/rvm 检查安装必备组件 $rvm requirements 安装 Ruby 1.9.3 $rvm install 1.9.3 $ruby -v $gem -v 更改Gem软件源 $gem sources -a $gem sources -r $gem sources -l 安装Jekyll $gem install jekyll $jekyll -v 打完收工!