1 if defined?(Rake.application) && Rake.application && ENV["SKIP_AR_JDBC_RAKE_REDEFINES"].nil?
2 jdbc_rakefile = File.dirname(__FILE__) + "/jdbc.rake"
3 if Rake.application.lookup("environment")
4 # rails tasks already defined; load the override tasks now
7 # rails tasks not loaded yet; load as an import
8 Rake.application.add_import(jdbc_rakefile)