Permalink
Browse files

allow to test AR master against AR-JDBC master (with `ENV['AR_JDBC']`)

  • Loading branch information...
1 parent 90ea6f9 commit 0a4683055dbc1d80d7f8680bddc462c6bd3e4e3a @kares kares committed Sep 3, 2013
Showing with 12 additions and 5 deletions.
  1. +12 −5 Gemfile
View
17 Gemfile
@@ -62,11 +62,18 @@ end
platforms :jruby do
gem 'json'
- gem 'activerecord-jdbcsqlite3-adapter', '>= 1.3.0'
-
- group :db do
- gem 'activerecord-jdbcmysql-adapter', '>= 1.3.0'
- gem 'activerecord-jdbcpostgresql-adapter', '>= 1.3.0'
+ if ENV['AR_JDBC']
+ gem 'activerecord-jdbcsqlite3-adapter', github: 'jruby/activerecord-jdbc-adapter', branch: 'master'
+ group :db do
+ gem 'activerecord-jdbcmysql-adapter', github: 'jruby/activerecord-jdbc-adapter', branch: 'master'
+ gem 'activerecord-jdbcpostgresql-adapter', github: 'jruby/activerecord-jdbc-adapter', branch: 'master'
+ end
+ else
+ gem 'activerecord-jdbcsqlite3-adapter', '>= 1.3.0'
+ group :db do
+ gem 'activerecord-jdbcmysql-adapter', '>= 1.3.0'
+ gem 'activerecord-jdbcpostgresql-adapter', '>= 1.3.0'
+ end
end
end

0 comments on commit 0a46830

Please sign in to comment.