We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4de78e commit 5038767Copy full SHA for 5038767
lib/ruby_wasm/build_system/product/crossruby.rb
@@ -65,7 +65,10 @@ def do_extconf(crossruby)
65
%Q('require_relative "#{@srcdir}/extconf.rb"'),
66
"-I#{crossruby.build_dir}"
67
]
68
- sh "#{crossruby.baseruby_path} #{extconf_args.join(" ")}", chdir: objdir
+ # Clear RUBYOPT to avoid loading unrelated bundle setup
69
+ sh ({ "RUBYOPT" => "" }),
70
+ "#{crossruby.baseruby_path} #{extconf_args.join(" ")}",
71
+ chdir: objdir
72
end
73
74
def do_install_rb(crossruby)
0 commit comments