Skip to content

Commit

Permalink
Fixed that rake db:create fails with JRuby (#15218).
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.redmine.org/redmine/trunk@12261 e93f8b46-1217-0410-a6f0-8f06a7374b81
  • Loading branch information
jplang committed Nov 10, 2013
1 parent ccf55e6 commit 6ccdee7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
5 changes: 1 addition & 4 deletions lib/tasks/ci.rake
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@ namespace :ci do
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
Expand Down
8 changes: 0 additions & 8 deletions lib/tasks/jdbc.rake

This file was deleted.

0 comments on commit 6ccdee7

Please sign in to comment.