1

I've tried to upgrade my redmine 1.3.0 to 2.0.0 following these instructions.

I am at step 3/6. In this step, I am trying to run the rake generate_session_store command, but I receive the following error: Could not find gem 'mocha (= 0.12.3) ruby' in any of the gem sources listed in your Gemfile.

Do you have any idea how this can be solved?

ire_and_curses
  • 12,232
  • 3
  • 38
  • 33

1 Answers1

1

It looks like Redmine is requiring an exact version of mocha (0.12.3). You have a more recent version. The solution is probably to uninstall your version, and install the version Redmine is looking for:

gem uninstall mocha --version 0.12.4
gem install mocha --version 0.12.3
ire_and_curses
  • 12,232
  • 3
  • 38
  • 33