I've got it working for me by editing oracle_enhanced_tasks.rb and
specifying that the adapter for the current environment must be
oracle_enhanced, otherwise don't load the oracle_enhanced rake
tasks....
# RSI: implementation idea taken from JDBC adapter
if defined?(Rake.application) && Rake.application &&
ActiveRecord::Base.configurations[RAILS_ENV]['adapter'] ==
'oracle_enhanced'
oracle_enhanced_rakefile = File.dirname(__FILE__) + "/
oracle_enhanced.rake"
if Rake.application.lookup("environment")
# rails tasks already defined; load the override tasks now
load oracle_enhanced_rakefile
else
# rails tasks not loaded yet; load as an import
Rake.application.add_import(oracle_enhanced_rakefile)
end
end
I don't know if this breaks anything else?
Anton