ruby patch