1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
# frozen_string_literal: true
if RUBY_VERSION < "3.0.0"
appraise "rails-5.2" do
gem "rails", "~> 5.2.0"
end
else
puts "WARNING: Skipping Rails 5.2, as it is not compatible with Ruby >= 3.0.0"
end
appraise "rails-6.0" do
gem "rails", "~> 6.0.0"
gem "tailwindcss-rails", "~> 2.0"
end
appraise "rails-6.1" do
gem "rails", "~> 6.1.0"
gem "tailwindcss-rails", "~> 2.0"
# Required for Ruby 3.1.0
gem "net-smtp", require: false
gem "net-imap", require: false
gem "net-pop", require: false
end
appraise "rails-7.0" do
gem "rails", "~> 7.0.0"
gem "tailwindcss-rails", "~> 2.0"
end
appraise "rails-head" do
gem "rails", github: "rails/rails", branch: "main"
gem "tailwindcss-rails", "~> 2.0"
end
|