标签:
查看ruby版本号
C:\Users\cl>ruby -v
ruby 2.2.2p95 (2015-04-13 revision 50295) [i386-mingw32]
初始化ruby开发工具配置
C:\demo\ruby>ruby dk.rb init
[INFO] found RubyInstaller v2.2.2 at C:/Ruby22
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.
C:\demo\ruby>ruby dk.rb review
Based upon the settings in the ‘config.yml‘ file generated
from running ‘ruby dk.rb init‘ and any of your customizations,
DevKit functionality will be injected into the following Rubies
when you run ‘ruby dk.rb install‘.
安装ruby
C:\demo\ruby>ruby dk.rb install
[INFO] Updating convenience notice gem override for ‘C:/Ruby22‘
[INFO] Installing ‘C:/Ruby22/lib/ruby/site_ruby/devkit.rb‘
标签:
原文地址:http://www.cnblogs.com/haker-chen/p/4721095.html