我尝试从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)
我安装了mocha:
gem install mocha
但错误仍然存在。
答案 0 :(得分:4)
尝试使用相同的版本安装它:
gem install mocha -v '0.12.3'