diff options
author | Nobuyoshi Nakada <[email protected]> | 2023-06-14 01:21:27 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2023-06-14 12:14:20 +0900 |
commit | c5c15a565b9b88745fe08f2ff78c2e0e5b401498 () | |
tree | 26ce0f1d64f520dfacca18358b67bd50746a602e | |
parent | 8722342ca9b5f770e678ccc93c4f68351e267c3c (diff) |
Allow test-unit-ruby-core files to be loaded from bundled gems
Separate the directly from the customized test-unit, since it may not work with bundled gems.
Notes: Merged: https://.com/ruby/ruby/pull/7941
-rw-r--r-- | gems/lib/core_assertions.rb | 1 | ||||
-rw-r--r-- | gems/lib/rake/extensiontask.rb (renamed from tool/dummy-rake-compiler/rake/extensiontask.rb) | 0 | ||||
-rw-r--r-- | tool/test-bundled-gems.rb | 3 |
3 files changed, 2 insertions, 2 deletions
@@ -0,0 +1 @@ @@ -15,8 +15,7 @@ ENV["GEM_PATH"] = [File.realpath('.bundle'), File.realpath('../.bundle', __dir__ colorize = Colorize.new rake = File.realpath("../../.bundle/bin/rake", __FILE__) gem_dir = File.realpath('../../gems', __FILE__) -dummy_rake_compiler_dir = File.realpath('../dummy-rake-compiler', __FILE__) -rubylib = [File.expand_path(dummy_rake_compiler_dir), ENV["RUBYLIB"]].compact.join(File::PATH_SEPARATOR) exit_code = 0 ruby = ENV['RUBY'] || RbConfig.ruby failed = [] |