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