Index: src/org/jruby/RubyArray.java =================================================================== --- src/org/jruby/RubyArray.java (revision 4772) +++ src/org/jruby/RubyArray.java (working copy) @@ -1319,7 +1319,9 @@ if (!obj.respondsTo("to_ary")) { return getRuntime().getFalse(); } else { - return equalInternal(getRuntime().getCurrentContext(), obj, this); + return equalInternal(getRuntime().getCurrentContext(), + obj.callMethod(getRuntime().getCurrentContext(), "to_ary"), + this); } }