]> source.dussan.org Git - redmine.git/commitdiff
Fixed: rubytree gem breaks db:migrate:plugins (#4394).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 18 Dec 2009 14:41:37 +0000 (14:41 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 18 Dec 2009 14:41:37 +0000 (14:41 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3186 e93f8b46-1217-0410-a6f0-8f06a7374b81

vendor/plugins/engines/tasks/engines.rake

index 48e3170666f1c5bda19c9a7483fdfe3652fe8c44..231cd025a706cc06bdbd76c71210065272db2c67 100644 (file)
@@ -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