diff options
author | Go MAEDA <maeda@farend.jp> | 2024-12-19 01:08:21 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2024-12-19 01:08:21 +0000 |
commit | 1de6663ceb2187fc47e6cc493746af89933d01cc (patch) | |
tree | 22eba364c3247ef493879b795bad717dfdef6615 | |
parent | 331b955f47412e3b449d6ca6c5b86ffc7b708f28 (diff) | |
download | redmine-1de6663ceb2187fc47e6cc493746af89933d01cc.tar.gz redmine-1de6663ceb2187fc47e6cc493746af89933d01cc.zip |
Fix: Allow database adapter name "mysql2" in config/database.yml to be quoted (#42013).
In Redmine 6.0.2 and 5.1.5, due to the change introduced in r23269, using the quoted adapter name `"mysql2"` causes Redmine to fail to start with the error: "Unknown database adapter `"mysql2"` found in config/database.yml".
git-svn-id: https://svn.redmine.org/redmine/trunk@23408 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | Gemfile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -69,7 +69,7 @@ if File.exist?(database_file) if adapters.any? adapters.each do |adapter| case adapter.strip - when 'mysql2' + when /mysql2/ gem 'mysql2', '~> 0.5.0' gem "with_advisory_lock" when /postgresql/ |