From b900ea8e2f188cdf07951bc37c466408c738eda7 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 4 Aug 2013 10:18:46 +0000 Subject: [PATCH] Default data loader raises an error when called from the rake task (#14607). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12076 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/tasks/load_default_data.rake | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/tasks/load_default_data.rake b/lib/tasks/load_default_data.rake index cc6774bce..bcfff7c3b 100644 --- a/lib/tasks/load_default_data.rake +++ b/lib/tasks/load_default_data.rake @@ -2,6 +2,7 @@ desc 'Load Redmine default configuration data. Language is chosen interactively namespace :redmine do task :load_default_data => :environment do + require 'custom_field' include Redmine::I18n set_language_if_valid('en')