task :setup do
Rake::Task["tmp:clear"].invoke
Rake::Task["log:clear"].invoke
- database = ENV['DATABASE_ADAPTER']
- unless Object.const_defined?(:JRUBY_VERSION) && database =~ /sqlite3/
- Rake::Task["db:create:all"].invoke
- end
+ Rake::Task["db:create:all"].invoke
Rake::Task["db:migrate"].invoke
Rake::Task["db:schema:dump"].invoke
Rake::Task["test:scm:setup:all"].invoke
+++ /dev/null
-# This file was generated by the "jdbc" generator, which is provided
-# by the activerecord-jdbc-adapter gem.
-#
-# This file allows you to use Rails' various db:* tasks with JDBC.
-if defined?(JRUBY_VERSION)
- require 'jdbc_adapter'
- require 'jdbc_adapter/rake_tasks'
-end