BigW Consortium Gitlab

Commit 8ef7b9b6 by Riyad Preukschas

Make SQLite check in gitlab:check more robust

parent 0e15270b
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment