%w( 0.24.1 0.25.0 0.26.1 0.27.1 0.28.0 0.29.1 0.30.1 0.31.0 0.32.1 0.33.0 0.34.2 0.35.1 0.36.0 0.37.2 ).each do |version| appraise version[/\d+\.\d+/] do gem 'rubocop', version end end