0

我尝试从 IDE 启动 redmine:

rails/redmine/script/rails server -b 127.0.0.1 -p 3000 -e development

但我收到错误:

/resolver.rb:287:in `resolve': Could not find gem 'mocha (= 0.12.3) x86-mingw32' in the gems available on this machine. (Bundler::GemNotFound)

我安装了摩卡:

gem install mocha

但仍然出现错误。

4

1 回答 1

4

尝试使用相同的确切版本安装它:

gem install mocha -v '0.12.3'
于 2012-10-24T09:32:23.200 回答