File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,12 @@ task :validate => :compile do
6363 # Skip RBS validation because Ruby CI runs without rubygems
6464 case skip_rbs_validation = ENV [ "SKIP_RBS_VALIDATION" ]
6565 when nil
66- libs << "rbs"
66+ begin
67+ Gem ::Specification . find_by_name ( "rbs" )
68+ libs << "rbs"
69+ rescue Gem ::MissingSpecError
70+ STDERR . puts "🚨🚨🚨🚨 Skipping `rbs` gem because it's not found"
71+ end
6772 when "true"
6873 # Skip
6974 else
@@ -90,7 +95,7 @@ task :stdlib_test => :compile do
9095 if ENV [ "RANDOMIZE_STDLIB_TEST_ORDER" ] == "true"
9196 test_files . shuffle!
9297 end
93-
98+
9499 sh "#{ ruby } -Ilib #{ bin } /test_runner.rb #{ test_files . join ( ' ' ) } "
95100 # TODO: Ractor tests need to be run in a separate process
96101 sh "#{ ruby } -Ilib #{ bin } /test_runner.rb test/stdlib/Ractor_test.rb"
You can’t perform that action at this time.
0 commit comments