Fix check task for development.

This commit is contained in:
Douwe Maan 2015-08-21 15:06:04 -07:00
parent 50baa1fdd1
commit 0366655311

View file

@ -589,7 +589,7 @@ namespace :gitlab do
check_address_formatted_correctly check_address_formatted_correctly
check_mail_room_config_exists check_mail_room_config_exists
check_imap_authentication check_imap_authentication
if Rails.env.production? if Rails.env.production?
check_initd_configured_correctly check_initd_configured_correctly
check_mail_room_running check_mail_room_running
@ -645,7 +645,7 @@ namespace :gitlab do
path = Rails.root.join("Procfile") 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 puts "yes".green
else else
puts "no".red puts "no".red