ruby命令

1:版本

D:\soft\redmine-2.4.2-0>ruby -v
tcs-ruby 1.9.3p231 (2012-05-25, TCS patched 2012-05-27) [i386-mingw32]

2:安装

指定版本

D:\soft\redmine-2.4.2-0>gem install -v=10.1.0 rake

最新版本

D:\soft\redmine-2.4.2-0>gem install git
Fetching: git-1.2.6.gem (100%)
Successfully installed git-1.2.6
1 gem installed
Installing ri documentation for git-1.2.6...
Installing RDoc documentation for git-1.2.6...


 3:删除 

D:\soft\redmine-2.4.2-0>gem uninstall rake
Select gem to uninstall:
 1. rake-0.9.2.2
 2. rake-10.1.0
 3. rake-10.1.1
 4. All versions
> 3
Successfully uninstalled rake-10.1.1

4:查询

gem list

*** LOCAL GEMS ***

actionmailer (3.2.16)
actionpack (3.2.16)
activemodel (3.2.16)
activerecord (3.2.16)
activeresource (3.2.16)
activesupport (3.2.16)
akami (1.2.0)
ansi (1.4.3)
arel (3.0.2)
atomic (1.1.14)
aws-sdk (1.8.3.1)
bcrypt-ruby (3.0.1 x86-mingw32)


5:运行redmine

在Redmine的根目录输入命令

ruby script/server


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值