diff --git a/lib/tasks/load_default_data.rake b/lib/tasks/load_default_data.rake index 4179b9db..c213ad79 100644 --- a/lib/tasks/load_default_data.rake +++ b/lib/tasks/load_default_data.rake @@ -10,6 +10,7 @@ namespace :redmine do print "Select language: " print valid_languages.collect(&:to_s).sort.join(", ") print " [#{current_language}] " + STDOUT.flush lang = STDIN.gets.chomp! break if lang.empty? break if set_language_if_valid(lang)