不能 运行 在 Windows 下使用 Ruby 2.0.0 对 Redmine 进行任何单元测试。这可能吗?

Can not run any unit test for Redmine with Ruby 2.0.0 under Windows. Is that at all possible?

任何 运行 Redmine 单元测试的尝试,例如:

ruby test/unit/issue_custom_field_test.rb

产生这个:

DL is deprecated, please use Fiddle

C:/Develop/Ruby200/lib/ruby/gems/2.0.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274:in `require': cannot load such file --
mocha/setup (LoadError)
        from C:/Develop/Ruby200/lib/ruby/gems/2.0.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274:in `block in require'
        from C:/Develop/Ruby200/lib/ruby/gems/2.0.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:240:in `load_dependency'
        from C:/Develop/Ruby200/lib/ruby/gems/2.0.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274:in `require'
        from C:/Develop/Redmine/src/redmine/test/test_helper.rb:36:in `<top (required)>'
        from C:/Develop/Ruby200/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
        from C:/Develop/Ruby200/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
        from test/unit/issue_custom_field_test.rb:18:in `<main>'

我用谷歌搜索了所有可能的地方。到目前为止没有运气。

有什么想法吗?会很棒。

PS:mocha 已安装:

C:\Develop\Redmine\src\redmine>gem list | grep -B 2 -A 2 mocha

mini_portile (0.6.2)
minitest (5.8.3, 4.3.2)
mocha (1.1.0)
mysql2 (0.3.20 x86-mingw32)
net-ldap (0.12.1)

看来,"bundle install" 最初 运行 带有“--without development test”选项.. 至少 .bundle/config

中是这么说的

正在删除文件,并且运行正在

gem uninstall mocha
bundle install

成功了。不知何故,"system" 宝石不同于 "bundler" 宝石。可能有一天我会开始理解这一点......