首页 > 其他 > 详细

Ruby 命令,小试牛刀

时间:2015-08-11 16:00:10      阅读:138      评论:0      收藏:0      [点我收藏+]

查看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‘

 

Ruby 命令,小试牛刀

原文:http://www.cnblogs.com/haker-chen/p/4721095.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!