From 4a4bc93278d04bea0eadec8d7e09ae33ccf0c1de Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 1 May 2010 09:37:46 +0000 Subject: [PATCH] Adds jdbc rake tasks (#5404). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3721 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/tasks/jdbc.rake | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 lib/tasks/jdbc.rake diff --git a/lib/tasks/jdbc.rake b/lib/tasks/jdbc.rake new file mode 100644 index 0000000000..289b3d94c4 --- /dev/null +++ b/lib/tasks/jdbc.rake @@ -0,0 +1,8 @@ +# 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