I am using many of the array methods found in array.c of the ruby codebase, but when trying to call
VALUE rIntersection = rb_ary_and(rAry1, rAry2);
I got this error:
dyld: lazy symbol binding failed: Symbol not found: _rb_ary_and
Referenced from: ./ext/ev/counters.bundle
Expected in: flat namespace
In other areas of my code I am using rb_ary_sort_bang, rb_ary_clear, rb_ary_reverse, etc etc. So I'm not sure why rb_ary_and is any different.