Project

General

Profile

Actions

Defect #42013

closed

Redmine fails to start with error: Unknown database adapter `"mysql2"` found in config/database.yml

Added by Daniel Drexlmaier 1 day ago. Updated about 14 hours ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Gems support
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

I use Docker. I testet this with "redmine" and "redmine:5". Testet with 6.0.2 and an 5.1.5.

With 5.1.4 it works

Unknown database adapter `"mysql2"` found in config/database.yml, use Gemfile.local to load your own database gems
pm1.de1.dbe.academy  | Your Gemfile lists the gem puma (>= 0) more than once.
pm1.de1.dbe.academy  | You should probably keep only one of them.
pm1.de1.dbe.academy  | Remove any duplicate entries and specify the gem only once.
pm1.de1.dbe.academy  | While it's not a problem now, it could cause errors if you change the version of one of them later.
pm1.de1.dbe.academy  | The Gemfile's dependencies are satisfied
pm1.de1.dbe.academy  | Unknown database adapter `"mysql2"` found in config/database.yml, use Gemfile.local to load your own database gems
pm1.de1.dbe.academy  | rake aborted!
pm1.de1.dbe.academy  | LoadError: Error loading the 'mysql2' Active Record adapter. Missing a gem it depends on? mysql2 is not part of the bundle. Add it to your Gemfile. (LoadError)

Related issues

Related to Redmine - Defect #41749: Warning during startup: "Unresolved or ambiguous specs during Gem::Specification.reset"ClosedGo MAEDA

Actions
Actions

Also available in: Atom PDF