forked from avo-hq/avo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAppraisals
20 lines (18 loc) · 781 Bytes
/
Appraisals
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
["3.1.4", "3.3.0"].each do |ruby_version|
["6.1", "7.1", "8.0"].each do |rails_version|
# Rails 8 require ruby >= 3.2.0
next if ruby_version == "3.1.4" && rails_version == "8.0"
appraise "rails-#{rails_version}-ruby-#{ruby_version}" do
gem "psych", "< 4"
gem "rails", "~> #{rails_version}"
gem "activestorage", "~> #{rails_version}"
gem "activestorage"
gem "acts-as-taggable-on"
if rails_version == "6.1"
# Fix `<module:LoggerThreadSafeLevel>': uninitialized constant ActiveSupport::LoggerThreadSafeLevel::Logger (NameError)
# https://stackoverflow.com/questions/79360526/uninitialized-constant-activesupportloggerthreadsafelevellogger-nameerror
gem "concurrent-ruby", "1.3.4"
end
end
end
end