Skip to content

Commit

Permalink
Remove workaround for jdbc bug that has been fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
nertzy committed Sep 17, 2013
1 parent efbb2db commit a066c84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ source "http://rubygems.org"
gemspec

gem 'pg', :platform => :ruby
gem "activerecord-jdbcpostgresql-adapter", :platform => :jruby
gem "activerecord-jdbcpostgresql-adapter", ">= 1.3.1", :platform => :jruby

gem "activerecord", ENV["ACTIVE_RECORD_VERSION"] if ENV["ACTIVE_RECORD_VERSION"]
gem "activerecord", :github => "rails", :branch => ENV["ACTIVE_RECORD_BRANCH"] if ENV["ACTIVE_RECORD_BRANCH"]
Expand Down
7 changes: 1 addition & 6 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,7 @@

begin
if defined? JRUBY_VERSION
# Can't require 'activerecord-jdbcpostgresql-adapter' until
# https://github.com/jruby/activerecord-jdbc-adapter/pull/463
# is resolved
require 'arjdbc'
require 'arjdbc/postgresql'

require 'activerecord-jdbcpostgresql-adapter'
error_class = ActiveRecord::JDBCError
else
require "pg"
Expand Down

0 comments on commit a066c84

Please sign in to comment.