--- Gemfile.orig        2025-01-06 10:18:09.938286940 +0000
+++ Gemfile     2025-01-06 10:18:33.674878971 +0000
@@ -74,7 +74,7 @@
   if adapters.any?
     adapters.each do |adapter|
       case adapter.strip
-      when 'mysql2'
+      when /mysql2/
         gem "mysql2", "~> 0.5.0", :platforms => [:mri, :mingw, :x64_mingw]
         gem "with_advisory_lock"
       when /postgresql/