summaryrefslogtreecommitdiff
path: root/test/ruby/test_syntax.rb
diff options
context:
space:
mode:
authornagachika <nagachika@ruby-lang.org>2022-10-15 16:33:24 +0900
committernagachika <nagachika@ruby-lang.org>2022-10-15 16:33:24 +0900
commitfa2ddb67c5a19d1c165fbba4102ca7a397fa50d5 (patch)
treef8af6ff31d58ab9fd576282f7c65e01746ffe4a7 /test/ruby/test_syntax.rb
parentd4dadf5d9baf2998b95550cb5bd7f55a4f11a729 (diff)
merge revision(s) 79fa27acc452c50ae47936880f91424e729fda72:
rbinstall: Also do `Gem.ruby` patching for unpacked bundled gems Pointing `Gem.ruby` to the newly installed ruby gives mkmf the right inputs to build extensions in bundled gems. Previously, this patching was only done for compressed bundled gems. This patch also prevents `tool/fake.rb` from propagating to the child process running mkmf for the native extension. The way `tool/fake.rb` changes mkmf variables using `Kernel#trace_var` created spooky action at a distance which made debugging difficult. AppVeyor Windows CI started to fail starting with 8a3663789c52ec5635194656af6b69d3d03120ee because it enabled extension building for bundled gems on mswin. This patch should address the CI failures. --- tool/rbinstall.rb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
Diffstat (limited to 'test/ruby/test_syntax.rb')
0 files changed, 0 insertions, 0 deletions