if RUBY_VERSION < '2.4' appraise 'rails4.0' do gem 'activesupport', '~> 4.0.0' end end appraise 'rails4.2' do gem 'activesupport', '~> 4.2.0' end