From 8ef7b9b6d10bde1f513d678703fc209653087137 Mon Sep 17 00:00:00 2001 From: Riyad Preukschas Date: Mon, 24 Dec 2012 15:52:49 +0100 Subject: [PATCH] Make SQLite check in gitlab:check more robust --- lib/tasks/gitlab/check.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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