From 16d15ae806146b9dc29a09efea4c01f7a9b522a7 Mon Sep 17 00:00:00 2001 From: Martin Corino Date: Sat, 16 Mar 2024 16:25:16 +0100 Subject: [PATCH] fix execute --- rakelib/lib/config.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rakelib/lib/config.rb b/rakelib/lib/config.rb index 0716aaaf..3d778ea2 100644 --- a/rakelib/lib/config.rb +++ b/rakelib/lib/config.rb @@ -313,7 +313,7 @@ def make_ruby_cmd(*cmd, verbose: true) private :make_ruby_cmd def execute(*cmd) - do_run(*cmd.flatten) + sh(exec_env.merge({'RUBYLIB'=>rb_lib_path}), cmd.flatten.join(' '), fail_on_error: true) end def run(*cmd, capture: nil, verbose: true)