Sha256: 3f8f1a7d4d5cdcfa948ffafd000b5a986992f55aad3a305e9efb60e6e6830c25
Contents?: true
Size: 537 Bytes
Versions: 11
Compression:
Stored size: 537 Bytes
Contents
if defined?(JRUBY_VERSION) begin require 'active_record/version' require 'active_record' rescue LoadError => e warn "activerecord-jdbc-adapter requires the activerecord gem at runtime" raise e end require 'arjdbc/jdbc' begin require 'arjdbc/railtie' rescue LoadError => e warn "activerecord-jdbc-adapter failed to load railtie: #{e.inspect}" end if defined?(Rails) && ActiveRecord::VERSION::MAJOR >= 3 else warn "activerecord-jdbc-adapter is for use with JRuby only" end require 'arjdbc/version'
Version data entries
11 entries across 11 versions & 1 rubygems