Sha256: 300766963e68d784118476829ee938e7c973b46574809bf0f1488833aa40d34b
Contents?: true
Size: 656 Bytes
Versions: 15
Compression:
Stored size: 656 Bytes
Contents
if defined?(JRUBY_VERSION) begin require 'active_record/version' if ActiveRecord::VERSION::MAJOR < 2 if defined?(RAILS_CONNECTION_ADAPTERS) RAILS_CONNECTION_ADAPTERS << %q(jdbc) else RAILS_CONNECTION_ADAPTERS = %w(jdbc) end if ActiveRecord::VERSION::MAJOR == 1 && ActiveRecord::VERSION::MINOR == 14 require 'arjdbc/jdbc' end else require 'active_record' require 'arjdbc/jdbc' end rescue LoadError warn "activerecord-jdbc-adapter requires ActiveRecord at runtime" end else warn "activerecord-jdbc-adapter is for use with JRuby only" end require 'arjdbc/version'
Version data entries
15 entries across 15 versions & 5 rubygems