Actions
Defect #42013
closedRedmine fails to start with error: Unknown database adapter `"mysql2"` found in config/database.yml
Defect #42013:
Redmine fails to start with error: Unknown database adapter `"mysql2"` found in config/database.yml
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)
Actions