diff --git a/lib/tasks/gitlab/check.rake b/lib/tasks/gitlab/check.rake index f052de77184..5f1ed080fa5 100644 --- a/lib/tasks/gitlab/check.rake +++ b/lib/tasks/gitlab/check.rake @@ -57,7 +57,7 @@ namespace :gitlab do database_config_file = Rails.root.join("config", "database.yml") - unless File.read(database_config_file) =~ /sqlite/ + unless File.read(database_config_file) =~ /adapter:\s+sqlite/ puts "no".green else puts "yes".red