Sha256: a2a354d7e9413bcd038928e043dbd974473e356dc75133921cfdc8a56951c26a
Contents?: true
Size: 745 Bytes
Versions: 2
Compression:
Stored size: 745 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 else require 'active_record' end rescue LoadError => e warn "activerecord-jdbc-adapter requires ActiveRecord 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
activerecord-jdbc-adapter-1.3.0.beta2 | lib/arjdbc.rb |
activerecord-jdbc-adapter-1.3.0.beta1 | lib/arjdbc.rb |