Created
October 25, 2012 18:42
-
-
Save plentz/3954594 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# this don't work (bundler don't support nested platform/grouping https://github.com/carlhuda/bundler/issues/1298) | |
group :development, :test do | |
gem 'pg', :platforms => :ruby | |
gem 'activerecord-jdbcpostgresql-adapter', :platforms => :jruby | |
end | |
# you should do something like this | |
group :development, :test do | |
gem 'pg' if RUBY_PLATFORM != 'java' | |
gem 'activerecord-jdbcpostgresql-adapter' if RUBY_PLATFORM == 'java' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
onde está o seu PR consertando essa parada? :-)