Revert Ruby scripts