diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-08-22 01:06:04 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-08-22 01:06:04 +0300 |
commit | 0366655311f3de0806eb1ad84abfffb881b5c609 (patch) | |
tree | 222ae1f8f9c0ad6604cbcb045e6de493147a8e7a /lib | |
parent | 50baa1fdd1be1090c0d8ae6f7346d82f07369657 (diff) |
Fix check task for development.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tasks/gitlab/check.rake | 4 |
1 files 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 |