appraise 'rails4.2' do gem 'rails', '~> 4.2.9' end appraise 'rails5.0' do gem 'rails', '~> 5.0.0' end appraise 'rails5.1' do gem 'rails', '~> 5.1.0' end appraise 'rails5.2' do gem 'rails', '~> 5.2.0', '< 5.2.4.1' end