appraise 'rails-4.2-stable' do gem 'rails', '~> 4.2.0' gem 'bundler', '< 2' gem "mongoid", "~> 4.0" end appraise 'rails-5.0-stable' do gem 'rails', '~> 5.0.0' gem "mongoid", "~> 6.0" end appraise 'rails-5.1-stable' do gem 'rails', '~> 5.1.0' gem "mongoid", "~> 6.0" end appraise 'rails-5.2-stable' do gem 'rails', '~> 5.2.0' gem "mongoid", "~> 6.0" end # appraise 'rails-6.0-beta' do # gem 'rails', '~> 6.0.0.beta3' # group :mongoid do # gem "mongoid", "~> 6.0" # end # end