summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ruby.c b/ruby.c
index f549e72fd0..17a9ba68ac 100644
--- a/ruby.c
+++ b/ruby.c
@@ -641,8 +641,8 @@ ruby_init_loadpath(void)
# endif
rb_obj_hide(selfpath);
OBJ_FREEZE_RAW(selfpath);
- rb_libruby_selfpath = selfpath;
rb_gc_register_address(&rb_libruby_selfpath);
+ rb_libruby_selfpath = selfpath;
# endif
#endif