summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/tasks/jdbc.rake8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/tasks/jdbc.rake b/lib/tasks/jdbc.rake
new file mode 100644
index 000000000..289b3d94c
--- /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