if RUBY_PLATFORM =~ /java/
  if defined?(RAILS_CONNECTION_ADAPTERS)
    RAILS_CONNECTION_ADAPTERS << %q(jdbc)
  else
    RAILS_CONNECTION_ADAPTERS = %w(jdbc)
  end
else
  raise "ActiveRecord-JDBC is for use with JRuby only"
end
if RUBY_PLATFORM =~ /java/
  if defined?(RAILS_CONNECTION_ADAPTERS)
    RAILS_CONNECTION_ADAPTERS << %q(jdbc)
  else
    RAILS_CONNECTION_ADAPTERS = %w(jdbc)
  end
  if RAILS_GEM_VERSION =~ /1\.1\.\d+/
    require 'active_record/connection_adapters/jdbc_adapter'
  end
else
  raise "ActiveRecord-JDBC is for use with JRuby only"
end

Make the jdbc-adapter require compliant with 1.1.6 too
Make the jdbc-adapter require compliant with 1.1.6 too

git-svn-id: 0d15740d2b2329e9094a4e8932733054e5d3e04c@368 8ba958d5-0c1a-0410-94a6-a65dfc1b28a6
