1
0
Fork 0
mirror of https://github.com/kaminari/kaminari.git synced 2022-11-09 13:44:37 -05:00

Active Support 5.2.6.2 is not ruby 2.2 compatible

and the incompatibility has been fixed via ff41a8fe93
which is not yet included in a released package
This commit is contained in:
Akira Matsuda 2022-03-03 18:45:18 +09:00
parent d8a1df8aa4
commit 592d86eb64

View file

@ -9,6 +9,10 @@ if ENV['RAILS_VERSION'] == 'edge'
gem 'railties', git: 'https://github.com/rails/rails.git'
gem 'activerecord', git: 'https://github.com/rails/rails.git', require: 'active_record'
gem 'actionview', git: 'https://github.com/rails/rails.git', require: 'action_view'
elsif ENV['RAILS_VERSION'] == '5.2'
gem 'railties', git: 'https://github.com/rails/rails.git', branch: '5-2-stable'
gem 'activerecord', git: 'https://github.com/rails/rails.git', require: 'active_record', branch: '5-2-stable'
gem 'actionview', git: 'https://github.com/rails/rails.git', require: 'action_view', branch: '5-2-stable'
elsif ENV['RAILS_VERSION']
gem 'railties', "~> #{ENV['RAILS_VERSION']}.0"
gem 'activerecord', "~> #{ENV['RAILS_VERSION']}.0", require: 'active_record'