From 0366655311f3de0806eb1ad84abfffb881b5c609 Mon Sep 17 00:00:00 2001 From: Douwe Maan Date: Fri, 21 Aug 2015 15:06:04 -0700 Subject: [PATCH] Fix check task for development. --- lib/tasks/gitlab/check.rake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/tasks/gitlab/check.rake b/lib/tasks/gitlab/check.rake index a48e23e63a8..6f7a13159fc 100644 --- a/lib/tasks/gitlab/check.rake +++ b/lib/tasks/gitlab/check.rake @@ -589,7 +589,7 @@ namespace :gitlab do check_address_formatted_correctly check_mail_room_config_exists check_imap_authentication - + if Rails.env.production? check_initd_configured_correctly check_mail_room_running @@ -645,7 +645,7 @@ namespace :gitlab do path = Rails.root.join("Procfile") - if File.exist?(path) && File.read(path) =~ /mail_room:/ + if File.exist?(path) && File.read(path) =~ /^mail_room:/ puts "yes".green else puts "no".red