diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-05-01 09:37:46 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-05-01 09:37:46 +0000 |
commit | 4a4bc93278d04bea0eadec8d7e09ae33ccf0c1de (patch) | |
tree | 8c8fdd30b6d1401c4b2b41b35dd05b5a006cdf27 /lib/tasks | |
parent | 1be15816dd30d10339a0dcf2faf44da31fc3e8e5 (diff) | |
download | redmine-4a4bc93278d04bea0eadec8d7e09ae33ccf0c1de.tar.gz redmine-4a4bc93278d04bea0eadec8d7e09ae33ccf0c1de.zip |
Adds jdbc rake tasks (#5404).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3721 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/tasks')
-rw-r--r-- | lib/tasks/jdbc.rake | 8 |
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 |