The $? variable rewritten before check

Hi

I found that `rbenv each` always report OK, even in one of the rubies fails.

This patch fixed the issue. Thanks