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