1
0
Fork 0
mirror of https://github.com/kaminari/kaminari.git synced 2022-11-09 13:44:37 -05:00
kaminari--kaminari/gemfiles/active_record_42.gemfile
Akira Matsuda 59dbc1246a Install gems for rbx platform only when running rbx
or bundle install fails on ruby 3 because rubysl ~> 2.0 doesn't support ruby 3
2021-05-05 03:52:55 +09:00

30 lines
746 B
Text

source 'https://rubygems.org'
gem 'railties', '~> 4.2.0'
gem 'activerecord', '~> 4.2.0', require: 'active_record'
platforms :ruby do
if RUBY_VERSION > "2.1.0"
gem 'sqlite3', '~> 1.3.13', require: false
else
gem 'sqlite3', '1.3.8', require: false
gem 'nokogiri', '~> 1.6.8'
end
gem 'pg', '< 1.0.0', require: false
gem 'mysql2', '< 0.4', require: false
end
platforms :jruby do
gem 'activerecord-jdbcsqlite3-adapter', require: false
gem 'activerecord-jdbcpostgresql-adapter', require: false
gem 'activerecord-jdbcmysql-adapter', require: false
end
if RUBY_ENGINE == 'rbx'
platforms :rbx do
gem 'rubysl', '~> 2.0'
gem 'racc'
gem 'minitest'
gem 'rubinius-developer_tools'
end
end
gemspec path: '../'