Sha256: 31545d2d68363cf2c9cd8b4a3102ea00087b1e08afe29c5e035cda7b0969e21c
Contents?: true
Size: 592 Bytes
Versions: 1
Compression:
Stored size: 592 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], '7.2' => %w[3.3 3.4], '8.0' => %w[3.4] } 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
http_health_check-1.0.0 | Appraisals |