diff options
Diffstat (limited to 'eval_method.ci')
-rw-r--r-- | eval_method.ci | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/eval_method.ci b/eval_method.ci index ff4d3cb0a5..a6b8264e2b 100644 --- a/eval_method.ci +++ b/eval_method.ci @@ -603,6 +603,8 @@ rb_alias(VALUE klass, ID name, ID def) rb_clear_cache_by_id(name); + if (!ruby_running) return; + if (singleton) { rb_funcall(singleton, singleton_added, 1, ID2SYM(name)); } |