removed the puts statement and simplified the execute statement

This commit is contained in:
Ranjay Krishna 2013-01-20 09:48:55 -08:00
parent 9f789364b2
commit e470ebfe4f

@ -40,12 +40,7 @@ namespace :test do
end
namespace :db do
task :create do
puts "*** creating mysql databases now ***"
Rake::Task['mysql:build_databases'].execute
puts "*** creating postgresql databases now ***"
Rake::Task['postgresql:build_databases'].execute
end
task :create => ['mysql:build_databases', 'postgresql:build_databases']
end
%w( mysql mysql2 postgresql sqlite3 sqlite3_mem firebird db2 oracle sybase openbase frontbase jdbcmysql jdbcpostgresql jdbcsqlite3 jdbcderby jdbch2 jdbchsqldb ).each do |adapter|