diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-12-18 14:41:37 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-12-18 14:41:37 +0000 |
commit | 1ba5779f94315eaff1e301fc07a4897eda7aa515 (patch) | |
tree | e2de64f7f47790b558d0d9e8e263b2ff9f361fc3 | |
parent | 488c192286ead874fcdfe04b6acf52e52e5cf9fc (diff) | |
download | redmine-1ba5779f94315eaff1e301fc07a4897eda7aa515.tar.gz redmine-1ba5779f94315eaff1e301fc07a4897eda7aa515.zip |
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
-rw-r--r-- | vendor/plugins/engines/tasks/engines.rake | 1 |
1 files changed, 1 insertions, 0 deletions
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 |