problem with gem rest_client