From 1ba5779f94315eaff1e301fc07a4897eda7aa515 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Fri, 18 Dec 2009 14:41:37 +0000 Subject: Fixed: rubytree gem breaks db:migrate:plugins (#4394). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3186 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- vendor/plugins/engines/tasks/engines.rake | 1 + 1 file changed, 1 insertion(+) diff --git a/vendor/plugins/engines/tasks/engines.rake b/vendor/plugins/engines/tasks/engines.rake index 48e317066..231cd025a 100644 --- a/vendor/plugins/engines/tasks/engines.rake +++ b/vendor/plugins/engines/tasks/engines.rake @@ -37,6 +37,7 @@ namespace :db do desc 'Migrate plugins to current status.' task :plugins => :environment do Engines.plugins.each do |plugin| + next unless plugin.respond_to?(:migration_directory) next unless File.exists? plugin.migration_directory puts "Migrating plugin #{plugin.name} ..." plugin.migrate -- cgit v1.2.3