summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-08-27 11:23:23 -0700
committerDouwe Maan <douwe@gitlab.com>2015-08-27 11:23:23 -0700
commit58c487e28b3f10c8a871dc82f7d79a45c7876f15 (patch)
treef3e6df3dab762c5ec1a06b85b112630d6d9628ed
parent232422f828116d8b2551d63fbd511abc5148ec2e (diff)
downloadgitlab-ce-58c487e28b3f10c8a871dc82f7d79a45c7876f15.tar.gz
Tweak check rake task.
-rw-r--r--lib/tasks/gitlab/check.rake4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tasks/gitlab/check.rake b/lib/tasks/gitlab/check.rake
index f5a900d87c9..9815582d02d 100644
--- a/lib/tasks/gitlab/check.rake
+++ b/lib/tasks/gitlab/check.rake
@@ -595,7 +595,7 @@ namespace :gitlab do
else
puts "no".red
try_fixing_it(
- sudo_gitlab("bin/background_jobs start", "RAILS_ENV=production")
+ sudo_gitlab("RAILS_ENV=production bin/background_jobs start")
)
for_more_information(
see_installation_guide_section("Install Init Script"),
@@ -726,7 +726,7 @@ namespace :gitlab do
else
puts "no".red
try_fixing_it(
- sudo_gitlab("bin/mail_room start", "RAILS_ENV=production")
+ sudo_gitlab("RAILS_ENV=production bin/mail_room start")
)
for_more_information(
see_installation_guide_section("Install Init Script"),