Skip to content

Commit

Permalink
Do not install pg for JRuby
Browse files Browse the repository at this point in the history
  • Loading branch information
mshibuya committed Feb 10, 2018
1 parent 065c215 commit fcb7bab
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions Gemfile
@@ -1,5 +1,6 @@
source "https://rubygems.org"

gem "activemodel-serializers-xml"
gem 'pg', '~> 0.21.0', platforms: :ruby

gemspec
2 changes: 1 addition & 1 deletion gemfiles/rails-4-0.gemfile
Expand Up @@ -2,7 +2,7 @@ source "https://rubygems.org"

gem "rails", "~> 4.0.0"
gem "railties", "~> 4.0.0"
gem 'pg', '~> 0.21.0'
gem 'pg', '~> 0.21.0', platforms: :ruby
gem "activerecord-jdbcpostgresql-adapter", "~> 1.3", platforms: :jruby

gemspec :path => "../"
2 changes: 1 addition & 1 deletion gemfiles/rails-4-1.gemfile
@@ -1,7 +1,7 @@
source "https://rubygems.org"

gem "rails", "~> 4.1.0"
gem 'pg', '~> 0.21.0'
gem 'pg', '~> 0.21.0', platforms: :ruby
gem "activerecord-jdbcpostgresql-adapter", "~> 1.3", platforms: :jruby

gemspec :path => "../"
2 changes: 1 addition & 1 deletion gemfiles/rails-4-2.gemfile
@@ -1,7 +1,7 @@
source "https://rubygems.org"

gem "rails", "~> 4.2.0"
gem 'pg', '~> 0.21.0'
gem 'pg', '~> 0.21.0', platforms: :ruby
gem "activerecord-jdbcpostgresql-adapter", "~> 1.3", platforms: :jruby

gemspec :path => "../"
2 changes: 1 addition & 1 deletion gemfiles/rails-5-0.gemfile
@@ -1,7 +1,7 @@
source "https://rubygems.org"

gem "rails", "~> 5.0.0"
gem 'pg', '~> 0.21.0'
gem 'pg', '~> 0.21.0', platforms: :ruby
gem "activemodel-serializers-xml"
gem "activerecord-jdbcpostgresql-adapter", "~> 50.0", platforms: :jruby

Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails-5-1.gemfile
Expand Up @@ -2,7 +2,7 @@ source "https://rubygems.org"

gem "rails", "~> 5.1.0"
gem "activemodel-serializers-xml"
gem 'pg', '~> 0.21.0'
gem 'pg', '~> 0.21.0', platforms: :ruby
gem "activerecord-jdbcpostgresql-adapter", "~> 51.0", platforms: :jruby

gemspec :path => "../"

0 comments on commit fcb7bab

Please sign in to comment.