abahgat / redmine_didyoumean

A Redmine plugin to search for possible duplicates when users are about to open new issues.
Other
67 stars 46 forks source link

problems installing in redmine 2.6 #71

Closed tofi86 closed 9 years ago

tofi86 commented 9 years ago
root@helios:/var/www/projekte/redmine# bundle install
Your Gemfile lists the gem mysql2 (~> 0.3.11) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of just one of them later.
Your Gemfile lists the gem activerecord-jdbcmysql-adapter (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of just one of them later.
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.........
Resolving dependencies...
You have requested:
  rake ~> 10.1.1

The bundle currently has rake locked at 10.4.2.
Try running `bundle update rake`

Why is an old version of rake needed in this plugin?

I also get this error:

Bundler could not find compatible versions for gem "activerecord":
  In Gemfile:
    thinking-sphinx (~> 3.1.1) ruby depends on
      activerecord (>= 4.1.0) ruby

    thinking-sphinx (~> 3.1.1) ruby depends on
      activerecord (3.2.21)
tofi86 commented 9 years ago

Alright, got it to work. But only by deleting Gemfile.lock and removing gem 'rake', '~> 10.1.1' from the Gemfile.

Also had to do a bundle update

Androc commented 9 years ago

You always have to run bundle update when installing a new plugin. You have to run it from your redmine's root path.