added ruby sample for base64