Commit 03666553 authored by Douwe Maan's avatar Douwe Maan

Fix check task for development.

parent 50baa1fd
...@@ -589,7 +589,7 @@ namespace :gitlab do ...@@ -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 ...@@ -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
......
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