diff options
-rw-r--r-- | test/rubygems/test_gem_specification.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_specification.rb b/test/rubygems/test_gem_specification.rb index 21cd7c87b3..875d27761c 100644 --- a/test/rubygems/test_gem_specification.rb +++ b/test/rubygems/test_gem_specification.rb @@ -944,7 +944,7 @@ dependencies: [] assert_equal File.join(@tempdir, 'a-2.gemspec'), spec.loaded_from end - if RUBY_VERSION < '2.7' + if RUBY_ENGINE == 'ruby' and RUBY_VERSION < '2.7' def test_self_load_tainted full_path = @a2.spec_file write_file full_path do |io| |