mirror of
https://github.com/kaminari/kaminari.git
synced 2022-11-09 13:44:37 -05:00
59dbc1246a
or bundle install fails on ruby 3 because rubysl ~> 2.0 doesn't support ruby 3
30 lines
746 B
Text
30 lines
746 B
Text
source 'https://rubygems.org'
|
|
|
|
gem 'railties', '~> 4.1.0'
|
|
gem 'activerecord', '~> 4.1.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: '../'
|