mirror of
https://github.com/kaminari/kaminari.git
synced 2022-11-09 13:44:37 -05:00
So that we can run the tests locally without giving a RAILS_VERSION
This commit is contained in:
parent
73162156d8
commit
d8ffaa413c
1 changed files with 5 additions and 3 deletions
8
Gemfile
8
Gemfile
|
@ -19,10 +19,12 @@ end
|
|||
|
||||
gem 'selenium-webdriver'
|
||||
|
||||
rails_version = ENV['RAILS_VERSION'] || '∞'
|
||||
|
||||
platforms :ruby do
|
||||
gem 'sqlite3', ENV['RAILS_VERSION'] >= '5.1' ? '>= 1.4' : '< 1.4', require: false
|
||||
gem 'pg', ENV['RAILS_VERSION'] >= '5.1' ? '>= 1.0.0' : '< 1.0.0', require: false
|
||||
gem 'mysql2', ENV['RAILS_VERSION'] >= '4.2' ? '>= 0.4' : '< 0.4', require: false
|
||||
gem 'sqlite3', rails_version >= '5.1' ? '>= 1.4' : '< 1.4', require: false
|
||||
gem 'pg', rails_version >= '5.1' ? '>= 1.0.0' : '< 1.0.0', require: false
|
||||
gem 'mysql2', rails_version >= '4.2' ? '>= 0.4' : '< 0.4', require: false
|
||||
end
|
||||
|
||||
platforms :jruby do
|
||||
|
|
Loading…
Reference in a new issue