Fix check task for development.

This commit is contained in:
Douwe Maan 2015-08-21 15:06:04 -07:00
parent 50baa1fdd1
commit 0366655311
1 changed files with 2 additions and 2 deletions

View File

@ -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