From 657e5a863381712b633f17f569a8b99303221b33 Mon Sep 17 00:00:00 2001 From: Jay Pfaffman Date: Mon, 28 Aug 2017 09:59:56 -0700 Subject: [PATCH] Suggest running discourse not script/discourse (#5089) Having `discourse restore` offer copy/paste of backups is awesome, but doesn't work (rails won't load) if you call script/discourse. --- script/discourse | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/discourse b/script/discourse index 7bbb2714abe..9013c87b798 100755 --- a/script/discourse +++ b/script/discourse @@ -91,7 +91,7 @@ class DiscourseCLI < Thor puts "You must provide a filename to restore. Did you mean one of the following?\n\n" Dir["public/backups/default/*"].each do |f| - puts "script/discourse restore #{File.basename(f)}" + puts "discourse restore #{File.basename(f)}" end return