Skip to content

Commit 81a9ed6

Browse files
author
Brett Beutell
committed
Comment out postgres-pr dependencies (fixes maxlapshin#80)
This dependency is only used if RUBY_ENVIRONMENT=="JAVA", which is not the case for me.
1 parent 2ec92a2 commit 81a9ed6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ source 'https://rubygems.org'
22

33
gem 'rake', '~> 10.3'
44
gem 'mysql-pr', '~> 2.9'
5-
gem 'postgres-pr', '~> 0.6'
5+
# gem 'postgres-pr', '~> 0.6'
66

77
platforms :jruby do
88
gem 'activerecord'

Diff for: lib/mysqltopostgres.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
if RUBY_PLATFORM == 'java'
33
require 'active_record'
4-
require 'postgres-pr/postgres-compat'
4+
# require 'postgres-pr/postgres-compat'
55
else
66
require 'pg'
77
require 'pg_ext'

Diff for: mysqltopostgres.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Gem::Specification.new do |s|
8282
]
8383

8484
s.add_dependency('mysql-pr', ['~> 2.9'])
85-
s.add_dependency('postgres-pr', ['~> 0.6'])
85+
# s.add_dependency('postgres-pr', ['~> 0.6'])
8686
s.add_dependency('test-unit', ['~> 2.1'])
8787

8888
if RUBY_PLATFORM == 'java'

0 commit comments

Comments
 (0)