heshao2005 发表于 2018-6-18 09:16:27

【Windows系统】Ruby2.0安装

下载和安装
  下载地址:https://rubyinstaller.org/downloads/
安装注意要点
  安装过程中选择
  安装Install Tcl/Tk suppport
  环境(Add Ruby executables to your PATH)
  关联执行(Associate .rb and .rbw files with this Ruby installtion.)
安装devkit
  解压在d:/ruby/devkit,然后在该目录下执行下面的命令
  ruby dk.rb init
  ruby dk.rb review
  ruby dk.rb install
更换RubyGems镜像
  # 去除镜像
  gem sources --remove https://rubygems.org/
  # 添加镜像
  gem sources -a http://gems.ruby-china.org/
  # 查看镜像
  gem sources -l
安装RubyGems
  gem update --system
页: [1]
查看完整版本: 【Windows系统】Ruby2.0安装