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