Skip to content

Commit e7b2d0c

Browse files
committed
Test Rails 7.x with Truffleruby and JRuby
1 parent 432a6a0 commit e7b2d0c

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

Appraisals

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Rails 5.x, 6.0 requires Ruby < 3
1+
# Rails 5.x, 6.0 require Ruby < 3
22
if RUBY_ENGINE == 'ruby' && RUBY_VERSION <= '3.0'
33
appraise 'rails-5.2' do
44
gem 'activerecord-jdbcsqlite3-adapter', '~> 52.5', platform: :jruby
@@ -17,7 +17,7 @@ if RUBY_ENGINE == 'ruby' && RUBY_VERSION <= '3.0'
1717
end
1818
end
1919

20-
# Test rails 6.1 with psych >= 4
20+
# Rails 6.1 with psych >= 4
2121
appraise 'rails-6.1' do
2222
gem 'activerecord-jdbcsqlite3-adapter', '~> 61.1', platform: :jruby
2323
gem 'bootsnap', '>= 1.4.4'
@@ -27,10 +27,8 @@ appraise 'rails-6.1' do
2727
gem 'psych', '>= 4'
2828
end
2929

30-
# Temporarily exclude Truffleruby and JRuby from testing in Rails 7.x until they fix the issues upstream.
31-
# See https://github.com/rubyconfig/config/pull/344#issuecomment-1766209753
32-
# if (RUBY_ENGINE == 'ruby' && RUBY_VERSION >= '2.7') || RUBY_ENGINE != 'ruby'
33-
if RUBY_ENGINE == 'ruby' && RUBY_VERSION >= '2.7'
30+
# Rails 7.x require Ruby >= 2.7
31+
if (RUBY_ENGINE == 'ruby' && RUBY_VERSION >= '2.7') || RUBY_ENGINE != 'ruby'
3432
appraise 'rails-7.0' do
3533
gem 'activerecord-jdbcsqlite3-adapter', '~> 70.1', platform: :jruby
3634
gem 'sqlite3', '~> 1.6.4', platform: :ruby

0 commit comments

Comments
 (0)