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 commit is contained in:
Akira Matsuda 2021-05-05 03:52:55 +09:00
parent 2a77263f44
commit 59dbc1246a
6 changed files with 42 additions and 30 deletions

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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