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

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

this follows up 59dbc1246a
This commit is contained in:
Akira Matsuda 2021-05-05 09:39:01 +09:00
parent bbd76da988
commit 923f5d07b3

View file

@ -16,11 +16,13 @@ platforms :jruby do
gem 'activerecord-jdbcpostgresql-adapter', require: false
gem 'activerecord-jdbcmysql-adapter', require: false
end
platforms :rbx do
gem 'rubysl', '~> 2.0'
gem 'racc'
gem 'minitest'
gem 'rubinius-developer_tools'
if RUBY_ENGINE == 'rbx'
platforms :rbx do
gem 'rubysl', '~> 2.0'
gem 'racc'
gem 'minitest'
gem 'rubinius-developer_tools'
end
end
gemspec path: '../'