Fix gem path and add proxy case