revert ruby