Sha256: 86f2a353596236803ac4952bde40c6037cdcb49d5df3ede76b8a16d06378e3b5
Contents?: true
Size: 553 Bytes
Versions: 14
Compression:
Stored size: 553 Bytes
Contents
# frozen_string_literal: true # See compatibility table at https://www.fastruby.io/blog/ruby/rails/versions/compatibility-table.html versions_map = { "6.0" => %w[2.7], "6.1" => %w[2.7 3.0], "7.0" => %w[3.1], "7.1" => %w[3.2, 3.3] } current_ruby_version = RUBY_VERSION.split(".").first(2).join(".") versions_map.each do |rails_version, ruby_versions| ruby_versions.each do |ruby_version| next if ruby_version != current_ruby_version appraise "rails-#{rails_version}" do gem "rails", "~> #{rails_version}.0" end end end
Version data entries
14 entries across 14 versions & 2 rubygems