码迷,mamicode.com
首页 > 其他好文 > 详细

Ruby 命令,小试牛刀

时间:2015-08-11 16:01:49      阅读:128      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!