From 31c1f3665a9224f7e77f1b59f7872befc2760a74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89tienne=20Barri=C3=A9?= Date: Fri, 27 Jun 2025 16:43:38 +0200 Subject: [PATCH] Stop setting TMP_RUBY_PREFIX during prelude It's unnecessary now that builtin-loader supports sub-libraries: 9faa9ced9640d23fc5dc1efd635f6b8ebc1a3ceb --- ruby.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/ruby.c b/ruby.c index 9baee612c5..0d09e7ce61 100644 --- a/ruby.c +++ b/ruby.c @@ -757,8 +757,6 @@ ruby_init_loadpath(void) rb_ary_push(load_path, path); paths += len + 1; } - - rb_const_set(rb_cObject, rb_intern_const("TMP_RUBY_PREFIX"), ruby_prefix_path); } @@ -1772,7 +1770,6 @@ static void ruby_init_prelude(void) { Init_builtin_features(); - rb_const_remove(rb_cObject, rb_intern_const("TMP_RUBY_PREFIX")); } void rb_call_builtin_inits(void);