%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 0.38.0 0.39.0 0.40.0 0.41.2 0.42.0 0.43.0 0.44.1 0.45.0 0.46.0 0.47.1 ).each do |version| appraise version[/\d+\.\d+/] do gem 'rubocop', version end end