Sha256: 3a1dd3d71a68c81b584c924234a6acf75316dbf4b053b4607740e6c012bba0fe

Contents?: true

Size: 393 Bytes

Versions: 46

Compression:

Stored size: 393 Bytes

Contents

if defined?(Rake.application) && Rake.application && ENV["SKIP_AR_JDBC_RAKE_REDEFINES"].nil?
  jdbc_rakefile = File.dirname(__FILE__) + "/jdbc.rake"
  if Rake.application.lookup("db:create")
    # rails tasks already defined; load the override tasks now
    load jdbc_rakefile
  else
    # rails tasks not loaded yet; load as an import
    Rake.application.add_import(jdbc_rakefile)
  end
end

Version data entries

46 entries across 46 versions & 9 rubygems

Version Path
jpzwarte-activerecord-jdbc-adapter-0.9.2.5 lib/jdbc_adapter/rake_tasks.rb
jpzwarte-activerecord-jdbc-adapter-0.9.2.4 lib/jdbc_adapter/rake_tasks.rb
jpzwarte-activerecord-jdbc-adapter-0.9.2.3 lib/jdbc_adapter/rake_tasks.rb
jpzwarte-activerecord-jdbc-adapter-0.9.2.2 lib/jdbc_adapter/rake_tasks.rb
jpzwarte-activerecord-jdbc-adapter-0.9.2.1 lib/jdbc_adapter/rake_tasks.rb
activerecord-jdbc-adapter-0.9.2 lib/jdbc_adapter/rake_tasks.rb