Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRaphael Sofaer <raphael@joindiaspora.com>2011-07-22 06:15:47 +0400
committerRaphael Sofaer <raphael@joindiaspora.com>2011-07-22 06:15:47 +0400
commit17774d8b3b94ab0f3c6917c65d30552959fa387e (patch)
treeb137571ec2acba9194efaebaa9fbd8ec38f00532 /lib
parenta1bf22fe7e4cbcb535ebfd6d108cf09d37856ebe (diff)
Getting repost back to almost green.
Diffstat (limited to 'lib')
-rw-r--r--lib/tasks/db.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/db.rake b/lib/tasks/db.rake
index 77b35bc08..705d12fed 100644
--- a/lib/tasks/db.rake
+++ b/lib/tasks/db.rake
@@ -85,7 +85,7 @@ namespace :db do
ActiveRecord::Base.configurations.keys.select{ |k|
k.include?("integration")
}.each{ |k|
- drop_database ActiveRecord::Base.configurations[k]
+ drop_database ActiveRecord::Base.configurations[k] rescue Mysql2::Error
}
end