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_edge.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

35 lines
838 B
Text

source 'https://rubygems.org'
git_source(:github) do |repo_name|
repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
"https://github.com/#{repo_name}.git"
end
github 'rails/rails', branch: 'main' do
gem 'railties'
gem 'activerecord', require: 'active_record'
gem 'actionview', require: 'action_view'
end
gem 'selenium-webdriver'
platforms :ruby do
gem 'sqlite3', require: false
gem 'pg', require: false
gem 'mysql2', require: false
end
platforms :jruby do
gem 'activerecord-jdbcsqlite3-adapter', '>= 1.3.0'
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: '../'