Fix circular argument reference warning in ruby 2.2
Fix circular argument reference warning for ruby 2.2