Ruby安装
1.在Ruby官网上(http://www.ruby-lang.org/en/downloads/)下载ruby 安装文件ruby-1.9.3-p125-i386-mingw32 (如果是exe文件,直接点击安装即可)
2.解压ruby-1.9.3-p125-i386-mingw32文件后,配置%ruby_home%/bin到环境变量Path中
Ruby安装检测
打开命令提示符cmd,输入ruby –v ---若显示安装的ruby版本号,说明安装成功。
Ruby Gems (http://docs.rubygems.org/read/book/1)
1.A gem is a packaged Ruby application or library
2.Gems are managed on your computer using the gem command. You can install, remove, and query (amoung other things) gem packages using the gem command.
3.Ruby Gems is the name of the project that developed the gem packaging system and the gem command.
解压。打开cmd,定位到ruby Gems安装包解压文件夹,执行 ruby setup.rb.
Ruby编辑工具SciTE (第一个Ruby程序)